[MPlayer-cvslog] r28219 - trunk/playtreeparser.c
reimar
subversion at mplayerhq.hu
Thu Jan 1 10:47:21 CET 2009
Author: reimar
Date: Thu Jan 1 10:47:21 2009
New Revision: 28219
Log:
1000l, play_tree_parser_stop_keeping broke 0-termination of buffer
Modified:
trunk/playtreeparser.c
Modified: trunk/playtreeparser.c
==============================================================================
--- trunk/playtreeparser.c Thu Jan 1 10:37:02 2009 (r28218)
+++ trunk/playtreeparser.c Thu Jan 1 10:47:21 2009 (r28219)
@@ -133,6 +133,7 @@ play_tree_parser_stop_keeping(play_tree_
p->buffer_end -= p->iter -p->buffer;
if(p->buffer_end)
memmove(p->buffer,p->iter,p->buffer_end);
+ p->buffer[p->buffer_end] = 0;
p->iter = p->buffer;
}
}
More information about the MPlayer-cvslog
mailing list