On 08.12.2016 20:57, Michael Niedermayer wrote: > This is something the community must decide. > A. Is a heap limit for av_*alloc*() acceptable ?
I'm not sure that's a good idea, because it can't limit what other libraries called by libavcodec etc. allocate. > B. Are case based limits acceptable ? For the common cases, yes. However I doubt it's useful to limit every possible case. > C. document that libavcodec, libavformat and ffmpeg must be run as a > seperate process if the media comes from untrusted sources. Anything handling untrusted media files should have appropriate resource limits, anyway. Best regards, Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel