C/C++

C or C++ : Incorrect assignment of a boolean variable

Overview

The value assigned to a boolean variable is different from zero or one, which may lead to undefined behavior of the application.

LOW

DerScanner Severity Score

Check your C/C++ code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.