[DVDnav-discuss] [patch] Fix SIGSEGV in dvdnav_describe_title_chapters

Erik Hovland erik at hovland.org
Wed Apr 4 16:48:16 CEST 2012


On Wed, Apr 4, 2012 at 5:56 AM, Sylvain HENRY <hsyl20 at gmail.com> wrote:
> My patch checks that cellnr is strictly inferior to endcellnr. It was only
> based on the fact that this condition was true for every case except the
> bogus case (cellnr=0 and endcellnr=0).

Your patch is not bad and does indeed address an issue that likely should
be addressed. I like it. If cellnr = 0 and endcellnr = 1, will your patch
stop a crash?

E

-- 
Erik Hovland
erik at hovland.org
http://hovland.org/


More information about the DVDnav-discuss mailing list