commit | 8fb331e10b63888e944a8a0dcf79b17e93b475ba | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Mon May 18 15:07:08 2020 -0400 |
committer | Ard Biesheuvel <ardb@kernel.org> | Tue May 19 10:32:04 2020 +0200 |
tree | 36be9c5f83b1096e6d427084d39694986b1d37ad | |
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>