[MPlayer-cvslog] r23728 - trunk/libdvdcss/libdvdcss.c

Diego Biurrun diego at biurrun.de
Fri Jul 13 18:44:23 CEST 2007


On Sat, Jul 07, 2007 at 01:22:51AM +0200, iive wrote:
> 
> Log:
> 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 & durty solution is to use (unsigned char) or (uint8_t)
> Fixes Bugzilla 860 & 845

I sent this to libdvdcss-devel.

Diego



More information about the MPlayer-cvslog mailing list