asfdec_o: check for too small size in asf_read_unknown
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 6 Jan 2016 18:21:49 +0000 (19:21 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 14 Jan 2016 23:40:21 +0000 (00:40 +0100)
commitc29e87ad55a2be29cc8ac5c0e047512c1f5d34d4
tree4b3e6253744f9c7f29cf6b179e12987613cb686c
parent0e32153e9c296366e004352ecb3f9fcea74dc17d
asfdec_o: check for too small size in asf_read_unknown

This fixes infinite loops due to seeking back.

Reviewed-by: Alexandra Hájková <alexandra.khirnova@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/asfdec_o.c