Top "Coverity" questions

Coverity is a static code analysis tool for C, C++ and other programming languages.

How to handle Coverity error TAINTED_SCALAR in fread

While reading a value from file for an integer, coverity check is giving following error Calling function "fread" taints argument "…

fread coverity
Tainted string in C

I'm running Coverity tool in my file operation function and getting the following error. As you can see below, I'm …

c string coverity
Configure coverity for ndk-build

I would like to use coverity for static analysis, and I needed it for c++. Since my project uses Android …

gcc android-ndk coverity
Tainted string message from Coverity using getenv

Running Coverity on my code results in tainted string error message. I am using the "path" variable declared in the …

c coverity coverity-prevent
Getting warning - Dereferencing before possibly being null in C code

I'm getting a warning while doing a Static Analysis (SA) on my code. I have simplified it below (with the …

c pointers static-analysis coverity
Does C++ initialize integers to zero automatically?

I've noticed several Coverity (static-analysis tool) errors of type 'Uninitialized scalar variable' that are high impact. A lot of them …

c++ coverity
"intermediate directory contains no translation units" error while Coverity Static Analysis of my Java project

Recieved following warning while capturing the build for my project on Coverity. [WARNING] No files were emitted. This may be …

java static-analysis coverity
Coverity static analysis code defect

We use Coverity to detect vulnerabilities in our code. Basically this is the code snippet: static int vendor_request( const …

c coverity
What is the meaning of coverity warning : RW.ROUTINE_NOT_EMITTED?

I am facing below coverity warning: Type: Parse recovery warning (RW.ROUTINE_NOT_EMITTED) Classification: Unclassified Severity: Unspecified Action: Undecided …

coverity
Coverity Scan Setup?

Coverity offers a free scanning service for free and open source projects (http://scan.coverity.com). I'm trying to configure …

c++ c code-analysis coverity