[FFmpeg-cvslog] r25353 - trunk/libavformat/utils.c
mstorsjo
subversion
Tue Oct 5 21:33:56 CEST 2010
Author: mstorsjo
Date: Tue Oct 5 21:33:56 2010
New Revision: 25353
Log:
find_info_tag: Make sure the output buffer is null terminated
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Tue Oct 5 19:24:18 2010 (r25352)
+++ trunk/libavformat/utils.c Tue Oct 5 21:33:56 2010 (r25353)
@@ -3361,8 +3361,8 @@ int find_info_tag(char *arg, int arg_siz
}
p++;
}
- *q = '\0';
}
+ *q = '\0';
if (!strcmp(tag, tag1))
return 1;
if (*p != '&')
More information about the ffmpeg-cvslog
mailing list