Mayank Jain <[email protected]> added the comment:
Can you provide me the exact test case and for the time can you try with the
below changes in your avstring.c file
Index: libavutil/avstring.c
===================================================================
--- libavutil/avstring.c (revision 25591)
+++ libavutil/avstring.c (working copy)
@@ -66,6 +66,10 @@
size_t len = 0;
while (++len < size && *src)
*dst++ = *src++;
+
+ if(strlen(dst) <= size)
+ return 0;
+
if (len <= size)
*dst = 0;
return len + strlen(src) - 1;
----------
substatus: reproduced -> needs_more_info
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2328>
________________________________________________