summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/stack/stack.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2021-02-17 14:03:01 +0100
committerPeter Jones <pjones@redhat.com>2021-02-19 14:28:10 -0500
commit4c9654fb68dcdb0a489982570e4613f9fad2fc92 (patch)
tree1e780fa41b6c54701c23b3677e037778d3fd8c25 /Cryptlib/OpenSSL/crypto/stack/stack.c
parent496ca920ec584e2bf6cdd2da23117650a15ec94e (diff)
downloadefi-boot-shim-4c9654fb68dcdb0a489982570e4613f9fad2fc92.tar.gz
efi-boot-shim-4c9654fb68dcdb0a489982570e4613f9fad2fc92.zip
sbat: include NULL terminator when calculating buffer end in parse_sbat()
The parse_sbat() function is currently removing the last character of the passed buffer, which will usually be a null-terminated string to parse. There's no reason to do this and just take the whole size as specified by the caller. Reported-by: Chris Coulson <chris.coulson@canonical.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions