avcodec/exr: Check tile positions
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Aug 2016 19:22:29 +0000 (21:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Aug 2016 00:40:59 +0000 (02:40 +0200)
commit01aee8148d4fa439cce678a11f5110656c98de1f
tree578c9cd4d8663bf53ae32ddb8ec390e92709f320
parent8a78fc5b015f34e0a0c877b4b22b33fb961f847b
avcodec/exr: Check tile positions

This also disabled the case of mixed x/ymin with tiles, the code
handles these cases inconsistent for the 2 coordinate axis and is
unlikely working correctly.

Fixes crash
Fixes: poc1.exr, poc2.exr

Found-by: Yaoguang Chen of Aliapy unLimit Security Team
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/exr.c