targa: prevent integer overflow in bufsize check.
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 21 Feb 2011 18:44:37 +0000 (13:44 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 22 Feb 2011 01:44:37 +0000 (02:44 +0100)
commite48fe14a54d8360336dbb22f3f787815b57dda47
treedf37df4dc86220524ec16e1257be26fdd34e288d
parentd4e321d9c2f52f77e06ca48c3ddf71f8d4219f7b
targa: prevent integer overflow in bufsize check.
(cherry picked from commit 78e2380a6d09e7a8b2a74d090abfb0a922e046f6)
libavcodec/targa.c