[FFmpeg-user] abort and missing SIGABRT handling

Nicolas George george at nsup.org
Thu Feb 27 20:35:24 EET 2020

Carl Eugen Hoyos (12020-02-27):
> The abort() calls are not supposed to actually be hit. If you want to
> catch them in your code using the libraries, you should do so.

But if the abort() are reached, that's a bug, either in FFmpeg or in the
program that uses its libraries. Catching the signal is likely to make
things worse. Remember that these asserts may be the final barrier
against an exploitable bug.

The proper way of dealing with assert failure is to fix them.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200227/766d3146/attachment.sig>

More information about the ffmpeg-user mailing list