commit | a37ca6a2af9df2972372b918f09390c9303acfbd | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Wed Jul 29 15:33:00 2020 -0400 |
committer | Ard Biesheuvel <ardb@kernel.org> | Thu Aug 20 11:18:55 2020 +0200 |
tree | e754b312bf20e7294d2e096356505e773aff7117 | |
parent | 1fd9717d75df68e3c3509b8e7b1138ca63472f88 [diff] |
efi/libstub: Handle NULL cmdline Treat a NULL cmdline the same as empty. Although this is unlikely to happen in practice, the x86 kernel entry does check for NULL cmdline and handles it, so do it here as well. Cc: <stable@vger.kernel.org> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200729193300.598448-1-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>