summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-20 20:50:40 +0200
committerwm4 <wm4@nowhere>2012-10-22 01:55:55 +0200
commit7b65202e4711899680992b723c3c327bc2fd2983 (patch)
tree13a3ebf8f0dec38d600a0540223482083063800a /mplayer.c
parent933805daa16cfbc74610a2221b537c4ddb15d33e (diff)
downloadmpv-7b65202e4711899680992b723c3c327bc2fd2983.tar.bz2
mpv-7b65202e4711899680992b723c3c327bc2fd2983.tar.xz
osd_libass: fix stupid dangling pointer crash
append_utf8_buffer() reallocates the buffer passed to it, and returns the new pointer. This bug was originally introduced in mplayer2 when that project merged mpv's osd_libass.c. That merge changed some minor things, including ASS escape handling. When mpv used this better method of escape handling too (commit 0ff7dd992fb0), the bug was duplicated.
Diffstat (limited to 'mplayer.c')
0 files changed, 0 insertions, 0 deletions