diff options
Diffstat (limited to 'multimedia/MPlayer/demux_audio_fix_20080129.diff')
-rw-r--r-- | multimedia/MPlayer/demux_audio_fix_20080129.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/MPlayer/demux_audio_fix_20080129.diff b/multimedia/MPlayer/demux_audio_fix_20080129.diff new file mode 100644 index 0000000000..3f4aa788b9 --- /dev/null +++ b/multimedia/MPlayer/demux_audio_fix_20080129.diff @@ -0,0 +1,12 @@ +diff -Nur MPlayer-1.0rc2.orig/libmpdemux/demux_audio.c MPlayer-1.0rc2/libmpdemux/demux_audio.c +--- MPlayer-1.0rc2.orig/libmpdemux/demux_audio.c 2008-02-01 09:57:58.058713289 -0600 ++++ MPlayer-1.0rc2/libmpdemux/demux_audio.c 2008-02-01 09:57:07.479830963 -0600 +@@ -229,6 +229,8 @@ + ptr += 4; + + comment = ptr; ++ if (&comment[length] < comments || &comment[length] >= &comments[blk_len]) ++ return; + c = comment[length]; + comment[length] = 0; + |