Commit [720450]  Maximize  Restore  History

Pathc from iive (via Diego Biurrun)

Date: Sat Jul 7 01:22:51 2007

Fix crash on some DVDs
sprintf(tmp,"%.02x",(char)0xef); would print "ffffffef" instead of "ef",
in this case this leads to local array buffer overflow and hard to trace stack corruption.
The quick, easy & dirty solution is to use (unsigned char) or (uint8_t)

git-svn-id: svn://svn.videolan.org/libdvdcss/trunk@205 30c17a76-0bd4-0310-897a-eec9a65a02be

robux4 robux4 2007-07-29

changed src/libdvdcss.c
src/libdvdcss.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks