summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/secureboot.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-04-04 17:02:45 +0100
committerIngo Molnar <mingo@kernel.org>2017-04-05 12:27:27 +0200
commit4c3f14bb87b683a2e5bbc6d6660b41893ecacfd0 (patch)
treef1b0b5356f26419cc5e123eda5ba5314bcad6f52 /drivers/firmware/efi/libstub/secureboot.c
parent318532bf63cfab779d763527d8b93e48c4a96dba (diff)
downloadlinux-4c3f14bb87b683a2e5bbc6d6660b41893ecacfd0.tar.bz2
efi/libstub: Fix harmless command line parsing bug
When we parse the 'efi=' command line parameter in the stub, we fail to take spaces into account. Currently, the only way this could result in unexpected behavior is when the string 'nochunk' appears as a separate command line argument after 'efi=xxx,yyy,zzz ', so this is harmless in practice. But let's fix it nonetheless. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20170404160245.27812-12-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/secureboot.c')
0 files changed, 0 insertions, 0 deletions