Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 13:07 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_s

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Michael Niedermayer
..@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > > decode_str() did advance > > > > On Tue, Apr 15, 2025 at 11:01:14PM +, softworkz . wrote: > > [...] > > > Besides, the patch had been submitted 3 years ago, the

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Michael Niedermayer
> From: ffmpeg-devel On Behalf Of > >>> Michael Niedermayer > >>> Sent: Mittwoch, 16. April 2025 03:34 > >>> To: FFmpeg development discussions and patches >>> de...@ffmpeg.org> > >>> Subject: Re: [FFmpeg-devel] [PATCH 2/2] avform

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 12:42 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_s

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 12:53 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Andreas Rheinhardt
>>> To: FFmpeg development discussions and patches >> de...@ffmpeg.org> >>> Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >>> decode_str() did advance >>> >>> On Wed, Apr 16, 2025 at 01:29:02AM +, softworkz . wrote: >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Michael Niedermayer
hes > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > > decode_str() did advance > > > > On Wed, Apr 16, 2025 at 01:29:02AM +, softworkz . wrote: > > [...] > > > > > This will cause deserializ

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Michael Niedermayer
..@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > > decode_str() did advance > > > > On Wed, Apr 16, 2025 at 01:29:02AM +, softworkz . wrote: > > [...] > > > > > This will cause deserialization errors for man

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Andreas Rheinhardt
t; Michael Niedermayer >>> Sent: Dienstag, 15. April 2025 01:20 >>> To: FFmpeg development discussions and patches >> de...@ffmpeg.org <mailto:de...@ffmpeg.org>> >>> Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >>> decode_str() did a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Nicolas George
softworkz . (HE12025-04-16): > Does that mean that I can apply any patch from the past few years without > prior notice when it hasn't received a reply? Are you already considering abusing your git access? -- Nicolas George ___ ffmpeg-devel mailing l

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-16 Thread Nicolas George
softworkz . (HE12025-04-16): > Please show me widely used implementations which do not break. No: you are making a strong claim, it is up to you to justify it: prove that it breaks anything, let alone everything. -- Nicolas George ___ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Mittwoch, 16. April 2025 07:15 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Nicolas George
softworkz . (HE12025-04-15): > which breaks all usages. Please elaborate. -- Nicolas George ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsub

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 03:34 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 02:54 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 03:34 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_s

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 03:34 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
On Wed, Apr 16, 2025 at 01:29:02AM +, softworkz . wrote: [...] > > > This will cause deserialization errors for many people in the world > > > who are processing FFprobe data. > > > > As said, ffprobe should not produce troublesome output > > As I said, it cannot be remedied on the FFprobe si

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 03:22 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
..@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > > decode_str() did advance > > > > On Tue, Apr 15, 2025 at 07:59:00PM +, softworkz . wrote: > > [...] > > > > > - The representation of multi-values - both, int

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 02:54 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
On Tue, Apr 15, 2025 at 11:01:14PM +, softworkz . wrote: [...] > Besides, the patch had been submitted 3 years ago, there hasn't been > any review and the merge was totally unexpected. no reply for 1 week means commit must be expected "Send a patch to ffmpeg-devel. If no one answers within a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Mittwoch, 16. April 2025 00:59 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Mittwoch, 16. April 2025 00:50 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
On Tue, Apr 15, 2025 at 07:59:00PM +, softworkz . wrote: [...] > - The representation of multi-values - both, internally and when > outputting as probe data - is a de-facto standard The external handling in formats is specified in the corresponing specifications. ";" is certainly not correc

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Dienstag, 15. April 2025 22:47 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Nicolas George
softworkz . (HE12025-04-15): > but it would be a breaking change Please elaborate. -- Nicolas George ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, v

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Dienstag, 15. April 2025 21:03 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str()

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 20:56 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 20:33 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_s

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 20:26 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Nicolas George
Michael Niedermayer (HE12025-04-15): > I think ffprobe should not generate invalid output if metadata given to it has > 2 entries with the same key, independant of that being the correct way to > export > metadata. Good thing that “The JSON syntax […] does not require that name strings be unique”

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Nicolas George
Ridley Combs via ffmpeg-devel (HE12025-04-15): > This is an issue that should be resolved by supporting multiple > entries all the way through the relevant ffmpeg.c and muxer code > paths, rather than adding new fragile usage of in-band signaling > within metadata strings. Since it has been neglec

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
; > From: ffmpeg-devel On Behalf Of > > > > Michael Niedermayer > > > > Sent: Samstag, 12. April 2025 00:27 > > > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > > > Subject: [FFmpeg-devel] [PATCH 2/2] avformat/i

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
> >> -Original Message- > > >> From: ffmpeg-devel mailto:ffmpeg- > > devel-boun...@ffmpeg.org>> On Behalf Of > > >> Michael Niedermayer > > >> Sent: Dienstag, 15. April 2025 01:20 > > >> To: FFmpeg development discussions and patche

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-15 Thread Michael Niedermayer
Hi On Tue, Apr 15, 2025 at 01:37:56AM +, softworkz . wrote: [...] > > > do you have a test file perhaps? > > > > Will email you one, but the loop with a function that doesnt advance > > is an issue even if the specific file doesnt trigger it in a different > > implementation > > > Thanks a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 01:20 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread Ridley Combs via ffmpeg-devel
;> To: FFmpeg development discussions and patches > de...@ffmpeg.org <mailto:de...@ffmpeg.org>> >> Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >> decode_str() did advance >> >> On Sat, Apr 12, 2025 at 01:49:53AM +, softworkz . wrote:

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Ridley Combs via ffmpeg-devel > Sent: Dienstag, 15. April 2025 02:03 > To: ffmpeg-devel > Cc: Ridley Combs > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str() did advanc

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 01:20 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread Michael Niedermayer
t; > Subject: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > > decode_str() did advance > > > > Fixes infinite loop with unknown encodings > > > > We could alternatively error out from decode_str() or consume all of > > taglen > > this would a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Samstag, 12. April 2025 00:27 > To: FFmpeg development discussions and patches > Subject: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str() did advance > &g

[FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-11 Thread Michael Niedermayer
Fixes infinite loop with unknown encodings We could alternatively error out from decode_str() or consume all of taglen this would affect other callers though. Fixes: 409819224/clusterfuzz-testcase-minimized-ffmpeg_dem_H261_fuzzer-6003527535362048 Signed-off-by: Michael Niedermayer --- libavfor