lavc/pngdec: improve chunk length check
authorAnton Khirnov <anton@khirnov.net>
Fri, 2 Apr 2021 14:00:23 +0000 (16:00 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 8 Apr 2021 09:03:15 +0000 (11:03 +0200)
commitae08eec6a1f2129cd231a0ab664f0f17b854d138
tree4ebd74fc3f5eb87a9ec40af207197184d1555e62
parent8e4390de48b22cf6dd2307f0c29a3fef7016ef4c
lavc/pngdec: improve chunk length check

The length does not cover the chunk type or CRC.
libavcodec/pngdec.c