exr: check size of uncompressed buffer returned by uncompress()
authorPaul B Mahol <onemda@gmail.com>
Fri, 13 Jul 2012 02:02:10 +0000 (02:02 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 16 Jul 2012 00:39:37 +0000 (00:39 +0000)
commit7543fd80e5c24aa835e4bcf5d8ef02b18f242018
tree2bc28e8f72c9657f1f08cdd38da3ce2f816555c2
parent8b855b69a179ee262f214e862f82f6e7d6f53156
exr: check size of uncompressed buffer returned by uncompress()

The actual size of uncompressed buffer returned by uncompress() may be
smaller than expected, so abort decoding in such cases.

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