[FFmpeg-devel] [PATCH 0/1][TOOL][HACK] Allocation NULL check fuzzer
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sun Nov 26 14:38:40 EET 2017
2017-11-26 2:05 GMT+01:00 Derek Buitenhuis <derek.buitenhuis at gmail.com>:
> On 11/26/2017 12:14 AM, Carl Eugen Hoyos wrote:
>> I am of course in favour of such checks but is there an allocator we support
>> that actually returns NULL on oom?
> Anything that doesn't use overcommit. Windows is the big obvious one here. Also
> various UNIX-like things, and even Linux is not guaranteed to return non-NULL,
> depending on how the kernel is set up (e.g. on some RHELs I think, or on
> plenty of embedded setups.)
> Some libcs will fail if the requested size is outside of the allowed range.
Thank you for the explanation!
More information about the ffmpeg-devel