commit | 80b1bfe1cb2f20225fb2d8f11d44af4a9d765396 | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Wed May 20 20:29:21 2020 -0400 |
committer | Ard Biesheuvel <ardb@kernel.org> | Fri May 22 16:50:03 2020 +0200 |
tree | cd6f70557c1fe4a91be370bb79c8df837a9487ad | |
parent | 04b24409b42a9fcae2379a6ddcf9c827b9af7a45 [diff] |
efi/libstub: Don't parse overlong command lines Check if the command line passed in is larger than COMMAND_LINE_SIZE, and truncate it to the last full argument if so. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200521002921.69650-1-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>