1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/libdvdcss
iive fd11b253b9 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23728 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-06 23:22:51 +00:00
..
dvdcss
bsdi_dvd.h
bsdi_ioctl.c
common.h Fix linking on Cygwin and remove nonsense lseek64 --> lseek indirection, 2006-11-07 16:42:39 +00:00
css.c
css.h
csstables.h
device.c Fix linking on Cygwin and remove nonsense lseek64 --> lseek indirection, 2006-11-07 16:42:39 +00:00
device.h
error.c
ioctl.c
ioctl.h
libdvdcss.c Fix crash on some DVDs 2007-07-06 23:22:51 +00:00
libdvdcss.h
Makefile Move setting Cygwin specific CFLAGS to configure. 2007-03-19 00:03:00 +00:00