diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-04-30 14:28:43 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-01 09:40:02 +0200 |
commit | 055042bedd4e0af8186266b189b81e73e708b82b (patch) | |
tree | 76c9b95853fec86fc172c05bdf3d516fdb3c035a /lib/mpi/mpiutil.c | |
parent | 7dde67f2a23ac11962b17128d9a71698430ced95 (diff) |
efi/libstub: Check return value of efi_parse_options
efi_parse_options can fail if it is unable to allocate space for a copy
of the command line. Check the return value to make sure it succeeded.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200430182843.2510180-12-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions