diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-05-18 15:07:08 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-19 10:32:04 +0200 |
commit | 8fb331e10b63888e944a8a0dcf79b17e93b475ba (patch) | |
tree | 36be9c5f83b1096e6d427084d39694986b1d37ad /lib/mpi/mpiutil.c | |
parent | f97ca2c816748e3b7dee58775632f9e9269071e6 (diff) |
efi/printf: Turn vsprintf into vsnprintf
Implement vsnprintf instead of vsprintf to avoid the possibility of a
buffer overflow.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-17-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