summaryrefslogtreecommitdiff
path: root/Cryptlib/opensslconf-diff.patch
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2023-06-28 16:47:48 -0400
committerPeter Jones <pjones@redhat.com>2023-06-29 14:35:50 -0400
commita0673e36db13e660f809de3e60900cb9381f8589 (patch)
tree5733779ef8f4c909bdb4170bfea5239e3bbdb027 /Cryptlib/opensslconf-diff.patch
parent1578b55a70bd2204cb0ad6db18ae4c003494df81 (diff)
downloadefi-boot-shim-a0673e36db13e660f809de3e60900cb9381f8589.tar.gz
efi-boot-shim-a0673e36db13e660f809de3e60900cb9381f8589.zip
Fix a 1-byte memory leak in .sbat parsing.
On the occasion that .sbat is entirely made of characters that aren't meaningfully CSV /data/, but which the parser accepts (i.e. newline), we currently allocate a byte of memory which then gets leaked. This patch tests for that condition and skips the allocation when there aren't any actual /entries/ to parse. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/opensslconf-diff.patch')
0 files changed, 0 insertions, 0 deletions