OSDN Git Service

ffprobe: fix consistency checks in parse_read_intervals()
authorStefano Sabatini <stefasab@gmail.com>
Mon, 21 Oct 2013 11:33:06 +0000 (13:33 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 21 Oct 2013 11:33:06 +0000 (13:33 +0200)
commitddaf33f5bba59f013a4191a4b22ba83c420cce38
tree9156b63b026813bfe14a5437f0ce24f4670f6bc3
parent09ba986cae148f309683bc6588ab54050fe4130d
ffprobe: fix consistency checks in parse_read_intervals()

Move array size assert after the count increment, and avoid strchr() NULL
dereference on p.

Should fix FFmpeg coverity issue #1108581.
ffprobe.c