[FFmpeg-devel] libavutil/imgutils: UBSan nullptr-with-offset in av_image_fill_pointer
Brian Kim
bkkim at google.com
Tue Jul 7 23:14:41 EEST 2020
On Tue, Jul 7, 2020 at 4:35 AM Michael Niedermayer
<michael at niedermayer.cc> wrote:
[...]
> I wonder if linesizes for newly added functions should be ptrdiff_t
> this would add some type converting loops though
>
> And size probably should be ptrdiff_t or int64_t to similarly be more future
> proof
Can these values be negative? Or is there some other reason not to use size_t?
[...]
More information about the ffmpeg-devel
mailing list