summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/rsa/rsa_pss.c
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-04-13 19:55:25 -0400
committerPeter Jones <pjones@redhat.com>2015-04-13 19:55:25 -0400
commit0ea5b3e3b7a905aac7668029348d895509de20e6 (patch)
tree7a4b7ca34f4611cc75624f2d0dbb65f6cf590808 /Cryptlib/OpenSSL/crypto/rsa/rsa_pss.c
parentcb7dec11f2e4dc37d133af8eb9403ef11c28be15 (diff)
downloadefi-boot-shim-0ea5b3e3b7a905aac7668029348d895509de20e6.tar.gz
efi-boot-shim-0ea5b3e3b7a905aac7668029348d895509de20e6.zip
Fix length of allocated buffer for boot option comparison.
The following commit: commit 4aac8a1179e160397d7ef8f1e3232cfb4f3373d6 Author: Gary Ching-Pang Lin <glin@suse.com> Date: Thu Mar 6 10:57:02 2014 +0800 [fallback] Fix the data size for boot option comparison corrected the data size used for comparison, but also reduced the allocation so it doesn't include the trailing UTF16LE '\0\0' at the end of the string, with the result that the trailer of the buffer containing the string is overwritten, which OVMF detects as memory corruption. Increase the size of the storage buffer in a few places to correct this problem. Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Gary Ching-Pang Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/rsa/rsa_pss.c')
0 files changed, 0 insertions, 0 deletions