[MPlayer-users] [PATCH] Fix crash in input/input.c when certain keys are pressed

Jared Stafford mplayer-list at jspenguin.org
Wed Jan 8 02:30:35 CET 2014


The mp_input_get_key_name function uses isprint() to determine the
"generic" name for a key if it's not in the key_names array, but
isprint() is documented as only accepting either EOF or a value which
fits in an unsigned char. On glibc 2.15, calling it with values >
~150000 causes a segmentation fault.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_isprint_crash_fix.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20140107/c79b5370/attachment.bin>


More information about the MPlayer-users mailing list