C and C++ Binaries


BADFUNC.CATOPEN : Use of catopen

Summary

A use of catopen(), which requires that extra care be taken.

Properties

Class Name Use of catopen
Significance security
Mnemonic BADFUNC.CATOPEN
Categories
CWE CWE:676 Use of Potentially Dangerous Function
BSI BSI:Catopen Use of catopen
Availability Available for C and C++.
Enabling Checks for this warning class are disabled by default. To enable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += allow class="Use of catopen"
To enable all BSI-related classes, including all BSI-specific BADFUNC classes, use the bsi configuration preset.

Resolution

When you see a Use of catopen warning, make sure that the appropriate validation techniques have been applied (see CVE-2000-1011 and CVE-2000-1012 for further information). If so, you can change the warning state to Suppressed.

Relevant Configuration File Parameters

This class is implemented using a BAD_FUNCTION_* rule set in the general template configuration file.

The following configuration file parameters affect checks for this warning class.