On Thu, Feb 27, 2025 at 02:01:34PM +0000, softworkz wrote:
> From: softworkz <softwo...@hotmail.com>
> 
> Signed-off-by: softworkz <softwo...@hotmail.com>
> ---
>  fftools/ffprobe.c                   | 910 ++++++----------------------
>  libavutil/Makefile                  |   1 +
>  libavutil/avtextformat.h            |  50 ++
>  libavutil/textformat/avtextformat.c | 620 +++++++++++++++++++
>  4 files changed, 848 insertions(+), 733 deletions(-)
>  create mode 100644 libavutil/textformat/avtextformat.c
this and patch 1 crash

==1574970== Invalid read of size 1
==1574970==    at 0x483EF46: strlen (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==1574970==    by 0x7683D14: __vfprintf_internal (vfprintf-internal.c:1688)
==1574970==    by 0x7696F99: __vsnprintf_internal (vsnprintf.c:114)
==1574970==    by 0x1239AA1: av_vbprintf (in ffmpeg/ffprobe_g)
==1574970==    by 0x1256473: av_log_default_callback (in ffmpeg/ffprobe_g)
==1574970==    by 0x1256162: av_log (in ffmpeg/ffprobe_g)
==1574970==    by 0x125CB4B: av_opt_set_defaults2 (in ffmpeg/ffprobe_g)
==1574970==    by 0x127611C: avtext_context_open (in ffmpeg/ffprobe_g)
==1574970==    by 0x2F9672: main (in ffmpeg/ffprobe_g)
==1574970==  Address 0xffffffff is not stack'd, malloc'd or (recently) free'd
==1574970==
==1574970==
==1574970== Process terminating with default action of signal 11 (SIGSEGV)
==1574970==  Access not within mapped region at address 0xFFFFFFFF
==1574970==    at 0x483EF46: strlen (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==1574970==    by 0x7683D14: __vfprintf_internal (vfprintf-internal.c:1688)
==1574970==    by 0x7696F99: __vsnprintf_internal (vsnprintf.c:114)
==1574970==    by 0x1239AA1: av_vbprintf (in ffmpeg/ffprobe_g)
==1574970==    by 0x1256473: av_log_default_callback (in ffmpeg/ffprobe_g)
==1574970==    by 0x1256162: av_log (in ffmpeg/ffprobe_g)
==1574970==    by 0x125CB4B: av_opt_set_defaults2 (in ffmpeg/ffprobe_g)
==1574970==    by 0x127611C: avtext_context_open (in ffmpeg/ffprobe_g)
==1574970==    by 0x2F9672: main (in ffmpeg/ffprobe_g)
==1574970==  If you believe this happened as a result of a stack
==1574970==  overflow in your program's main thread (unlikely but
==1574970==  possible), you can try to increase the size of the
==1574970==  main thread stack using the --main-stacksize= flag.
==1574970==  The main thread stack size used in this run was 8388608.

testcase: ./ffprobe_g -v 99 ~/tickets/3679/wgetmjpegdump

tell me if this file is not in the ticket and ill send it to you

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to