[DVDnav-discuss] Possible libdvdnav crash

Jean-Baptiste Kempf jb at videolan.org
Tue Mar 18 20:51:17 CET 2014


On 18 Mar, Erik Hovland wrote :
> I see what Jean means about libdvdnav asserting all the dang time.

Look at Ubuntu dvdnav bugtracker. They are hundred of those...

assert(0) is meant for codepaths that are supposed to be IMPOSSIBLE to
reach, not when parsing a user file fails. You should not trust your
input.
And it's CERTAINLY not for recoverable errors...

This is very hard to fix now but must be fixed.

Btw, Erik, you should send me your pubkey :)

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the DVDnav-discuss mailing list