]> git.ipfire.org Git - thirdparty/grub.git/commit
video/readers/jpeg: Do not reallocate a given huff table
authorDaniel Axtens <dja@axtens.net>
Mon, 28 Jun 2021 04:16:58 +0000 (14:16 +1000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 7 Jun 2022 14:39:32 +0000 (16:39 +0200)
commit768ef2199e0265cf455b154f1a80a612f02274c8
treedf97cfaa8b729470c8b8982a2f1dca1f2f54a706
parentd5caac8ab79d068ad9a41030c772d03a4d4fbd7b
video/readers/jpeg: Do not reallocate a given huff table

Fix a memory leak where an invalid file could cause us to reallocate
memory for a huffman table we had already allocated memory for.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/video/readers/jpeg.c