2017-02-24 1:19 GMT+01:00 Michael Niedermayer <mich...@niedermayer.cc>:

> The problem is that functions like memcpy dont allow NULL even with
> a size of 0
>
> i can add checks for every memcpy() and any other function that ubsan
> finds if thats preferred or add a av_memcpy() that does allow NULL

No, it's preferable to fix the original issue, not adding random
work-arounds all over the codebase.

Thank you, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to