Subversion daemon
2007-07-29 10:14:54 UTC
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)
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)