diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-25 15:29:55 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-25 15:29:55 +0000 |
commit | 8a856403541e6d98c9e72a37cd232abbe45465b7 (patch) | |
tree | 649c4e289ddbd648c4fdd099eddfa1f1b3c44489 /playtreeparser.c | |
parent | e30d189b3e440c46bfa065366f506ed406076661 (diff) | |
download | mpv-8a856403541e6d98c9e72a37cd232abbe45465b7.tar.bz2 mpv-8a856403541e6d98c9e72a37cd232abbe45465b7.tar.xz |
Fix the bug found by Martin Wulffeld
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10695 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'playtreeparser.c')
-rw-r--r-- | playtreeparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/playtreeparser.c b/playtreeparser.c index 04d7c96537..21da6f6752 100644 --- a/playtreeparser.c +++ b/playtreeparser.c @@ -107,6 +107,7 @@ play_tree_parser_get_line(play_tree_parser_t* p) { if(end[0] != '\0') { p->buffer_end -= end-p->iter; memmove(p->buffer,end,p->buffer_end); + p->buffer[p->buffer_end] = '\0'; } else p->buffer_end = 0; p->iter = p->buffer; |