[libdvdcss-devel] libdvdcss: svn commit r205 (robux4)

Subversion daemon svn at videolan.org
Sun Jul 29 12:14:54 CEST 2007


r205 | robux4 | 2007-07-29 12:14:53 +0200 (Sun, 29 Jul 2007) | 7 lines
Changed paths:
   M /trunk/src/libdvdcss.c

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)
_______________________________________________
libdvdcss-devel mailing list
libdvdcss-devel at videolan.org
http://mailman.videolan.org/listinfo/libdvdcss-devel


More information about the libdvdcss-devel mailing list