[FFmpeg-devel] [PATCH 0/1][TOOL][HACK] Allocation NULL check fuzzer
Derek Buitenhuis
derek.buitenhuis at gmail.com
Sun Nov 26 03:05:45 EET 2017
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.
In any case, the checks should be done.
- Derek
More information about the ffmpeg-devel
mailing list