Analyze minimum needed number of null separators in PngChunk::parseTXTChunk
This commit fixes the heap-buffer-overflow in PngChunk::parseTXTChunk. According to the specification: http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html There must be 2 null separators when we start to analyze the language tag.
This commit is contained in:
committed by
Luis Díaz Más
parent
234e5794f6
commit
2fb00c8a16
@@ -13,5 +13,5 @@ class TestCvePoC(metaclass=system_tests.CaseMeta):
|
||||
stdout = [""]
|
||||
stderr = [
|
||||
"""$exception_in_extract """ + filename + """:
|
||||
$kerFailedToReadImageData
|
||||
$kerCorruptedMetadata
|
||||
"""]
|
||||
|
||||
Reference in New Issue
Block a user