Le primidi 1er frimaire, an CCXXV, Michael Niedermayer a écrit : > With this it is possible to prevent OOM with untrusted media > > As this fundamentally requires keeping track of allocated memory sizes > and the memalign hack code does nearly exactly that already, this feature > depends on it being enabled. > > Signed-off-by: Michael Niedermayer <[email protected]>
Please no. It feels completely broken. It will not track memory allocated by external libraries, it adds global state, it makes all allocations more complex, it does not take the overhead of allocations into account, etc. Linux has setrlimit(), I am quite sure other OSes have similar features. Let applications use them. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
