png: Check length before read
commitb3b751cb99df71e3c0a18bcb38b4691cf98265fe
authorEdward Wang <edward.c.wang@compdigitec.com>
Sun, 14 Oct 2012 22:58:18 +0000 (14 18:58 -0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 14 Oct 2012 23:00:22 +0000 (15 01:00 +0200)
tree4b1dbcde8cff9a5b54e74a8f6c62daa257bca3b3
parent726284744819a9665b2c7f87fe9a33cfc00a2f8b
png: Check length before read

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/png.c