[vlc-devel] atomic_fetch_add for refcounting harmful ?

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 16 09:37:53 CET 2016


Hi,

We use atomic_* functions for refcounting, (input_item_Hold)
and I believe we somehow suffer the same issue as CVE2016_0728
as atomic_fetch_add does not provide any way to check for overflow
before adding.

Any comments and solutions (outside of using lock and checking max value) ?

Francois


More information about the vlc-devel mailing list