Fixes: timeout Fixes: 66783/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5356884892647424
Unified · Split
| @@ -370,7 +370,7 @@ static void read_uslt(AVFormatContext *s, AVIOContext *pb, int taglen, · 369 unmodified lines | |||
| 370 | int encoding; | 370 | int encoding; |
| 371 | int ok = 0; | 371 | int ok = 0; |
| 372 | 372 | ||
| 373 | if (taglen < 1) | 373 | if (taglen < 4) |
| 374 | goto error; | 374 | goto error; |
| 375 | 375 | ||
| 376 | encoding = avio_r8(pb); | 376 | encoding = avio_r8(pb); |