mirror of https://github.com/mpv-player/mpv
fd11b253b9
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 |
||
---|---|---|
.. | ||
dvdcss | ||
Makefile | ||
bsdi_dvd.h | ||
bsdi_ioctl.c | ||
common.h | ||
css.c | ||
css.h | ||
csstables.h | ||
device.c | ||
device.h | ||
error.c | ||
ioctl.c | ||
ioctl.h | ||
libdvdcss.c | ||
libdvdcss.h |