Re: [FFmpeg-devel] [PATCH] Numeric truncation in svs.c:57

2023-09-25 Thread Andreas Rheinhardt
mezhue...@ispras.ru: > From: headshog > > Hi! We've been fuzzing `ffmpeg` with > [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and > we found numeric truncation error in `svs.c:57`. > In function `svs_read_header` on line 57 field `st->codecpar->sample_rate` > has ty

[FFmpeg-devel] [PATCH] Numeric truncation in svs.c:57

2023-09-25 Thread mezhuevtp
From: headshog Hi! We've been fuzzing `ffmpeg` with [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and we found numeric truncation error in `svs.c:57`. In function `svs_read_header` on line 57 field `st->codecpar->sample_rate` has type `int`, the type of return value