summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2021-03-15 13:23:39 +0100
committerPeter Jones <pjones@redhat.com>2021-03-15 11:03:10 -0400
commit711cd1ab2f7a681693e5b6405873fa5a07821f4a (patch)
tree1b3e8c4427afce189592fb941668c3d555d5bbd7 /lib/variables.c
parent39b96c01bfd4547f38c9e573ff5d551057ea272c (diff)
downloadefi-boot-shim-711cd1ab2f7a681693e5b6405873fa5a07821f4a.tar.gz
efi-boot-shim-711cd1ab2f7a681693e5b6405873fa5a07821f4a.zip
shim: Fix a NULL pointer dereference caused by start not being set
Commit 018b74d2d69 ("shim: attempt to improve the argument handling") added added workarounds for a couple of LoadOption problems on some systems, but introduced a regression since the is_our_path() function can be called with a NULL start UCS-2 string. If there's only one string, set start to the start of LoadOptions. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions