CERT.CONC.LIB_FUNC_USE

Avoid race conditions when using library functions.

This checker highlights calls to library functions that are not guaranteed to be reentrant with respect to threads.

Vulnerability and risk

Race conditions caused by multiple threads invoking the same library function can lead to abnormal termination of the application, data integrity violations, or a denial-of-service attack.

Mitigation and prevention

Make use of safe variants of library functions or remediation guidelines provided by CERT.