]> git.proxmox.com Git - grub2.git/commit
kern/parser: Refactor grub_parser_split_cmdline() cleanup
authorChris Coulson <chris.coulson@canonical.com>
Wed, 6 Jan 2021 13:54:26 +0000 (13:54 +0000)
committerColin Watson <cjwatson@debian.org>
Sat, 27 Feb 2021 14:50:21 +0000 (14:50 +0000)
commit782fb19712aff29bb9e2c68a92e80f11e14b2c4f
tree63b8bb42e0b45ed431f35ac9160f46c39ab8f8ec
parent3ab27438bca07e9d76833b20d01359d3e93cd6da
kern/parser: Refactor grub_parser_split_cmdline() cleanup

Introduce a common function epilogue used for cleaning up on all
return paths, which will simplify additional error handling to be
introduced in a subsequent commit.

Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Patch-Name: 2021-02-security/096-kern-parser-Refactor-grub_parser_split_cmdline-cleanup.patch
grub-core/kern/parser.c