pngdec: do not release buffer on failure instead report full progress
authorPaul B Mahol <onemda@gmail.com>
Fri, 23 Aug 2013 18:55:55 +0000 (18:55 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 23 Aug 2013 21:08:32 +0000 (21:08 +0000)
commit2a7545951926a17459cbde045a4c5f8cca7cbc46
treede6df865f3b7cfc7eb532cf67da961fcc87001eb
parentb329ff3d43caf5978dee3740c701267e703cb337
pngdec: do not release buffer on failure instead report full progress

Should fix heap-use-after-free as reported by Address Sanitizer.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/pngdec.c