Check for out-of-bounds values for pgcn
authorBryce Harrington <bryce@canonical.com>
Tue, 12 Nov 2013 00:55:10 +0000 (00:55 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 15 Feb 2014 18:29:46 +0000 (19:29 +0100)
commit7ecb2b9736c77b6aa320989bc34b8f6c684e281c
treeaad065a9d83e83759deb0e7dc6191c9042f65193
parent59f570892017bc2b5954e013d99e7c16008de583
Check for out-of-bounds values for pgcn

Fixes a crash in dvdnav_describe_title_chapters() with vlc, lsdvd, and
other video players caused by an invalid value for pgcn.  This occurs
with the "Inside Man" DVD.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/searching.c