dds: validate compressed source buffer size
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 11 Nov 2015 00:15:55 +0000 (01:15 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 12 Nov 2015 03:39:14 +0000 (04:39 +0100)
commit29b17528612c8b0f66e6982ab48cc0816e41f36f
treee11fcb2b0ecfef30ab2a730abf4e071f4e56a02c
parente6459c655e110cd9acb5d0658d89c415eaca847b
dds: validate compressed source buffer size

A too small buffer will cause segfaults somewhere below
decompress_texture_thread.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/dds.c