[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/2.8 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [535559993309d2ed72a37266eba69d414f2dbf8c] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=535559993309d2ed72a37266eba69d414f2dbf8c
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index fea09f75d5..cafbcc0c81 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -364,7 +364,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/3.4 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [dccb2d95ec67cb86d7a2168c99c3839df29b8977] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dccb2d95ec67cb86d7a2168c99c3839df29b8977
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index a38cb5a6db..d7053392d8 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -364,7 +364,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/4.2 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [5b46b00ece8f4685beec0b04145cc56c68e5e133] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b46b00ece8f4685beec0b04145cc56c68e5e133
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 10431dfe55..465c909ae9 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -366,7 +366,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/4.4 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [3fc4d5d1d8b497aa716e11c2fcd993ba5b7479eb] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3fc4d5d1d8b497aa716e11c2fcd993ba5b7479eb
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index a40f858477..9398897873 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -365,7 +365,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/5.1 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [7fa625df70f38255657129d90e8cd60cdf2bc78f] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7fa625df70f38255657129d90e8cd60cdf2bc78f
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index cb31864045..e6c0385a58 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -366,7 +366,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-14 Thread Michael Niedermayer
ffmpeg | branch: release/6.0 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [a5103808f440323109304045fe012f881c36e6c1] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a5103808f440323109304045fe012f881c36e6c1
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index cb31864045..e6c0385a58 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -366,7 +366,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-04-13 Thread Michael Niedermayer
ffmpeg | branch: release/6.1 | Michael Niedermayer  | 
Wed Mar 20 03:51:05 2024 +0100| [19ea7b0409a56e37ab478695f6953433b2e9b827] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 
(cherry picked from commit c0f4abe2aa0117a10fb651f2c1c030d4cd516081)
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19ea7b0409a56e37ab478695f6953433b2e9b827
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index d83716dcf4..e0a7e3f3ea 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -370,7 +370,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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


[FFmpeg-cvslog] avformat/id3v2: read_uslt() check for the amount read

2024-03-25 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer  | Wed 
Mar 20 03:51:05 2024 +0100| [c0f4abe2aa0117a10fb651f2c1c030d4cd516081] | 
committer: Michael Niedermayer

avformat/id3v2: read_uslt() check for the amount read

Fixes: timeout
Fixes: 
66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424

Found-by: continuous fuzzing process 
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer 

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0f4abe2aa0117a10fb651f2c1c030d4cd516081
---

 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index d83716dcf4..e0a7e3f3ea 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -370,7 +370,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, 
int taglen,
 int encoding;
 int ok = 0;
 
-if (taglen < 1)
+if (taglen < 4)
 goto error;
 
 encoding = avio_r8(pb);

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

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