[8]
CERT-MEM04_C (REC) Beware of zero-length allocations (CERT_C-MEM04)
|
[8]
The validity of values passed to library functions shall be checked (CERT_C-MEM04-a-2)
|
[8]
CERT-MEM07_C (REC) Ensure that the arguments to calloc(), when multiplied, do not wrap (CERT_C-MEM07)
|
[8]
The validity of values passed to library functions shall be checked (CERT_C-MEM07-a-2)
|
[5]
CERT-API00_C (REC) Functions should validate their parameters (CERT_C-API00)
|
[5]
The validity of parameters must be checked inside each function (CERT_C-API00-a-3)
|
[4]
CERT-EXP39_C (RULE) Do not access a variable through a pointer of an incompatible type (CERT_C-EXP39)
|
[4]
There shall be no implicit conversions from integral to floating type (CERT_C-EXP39-a-3)
|
[6]
CERT-EXP00_C (REC) Use parentheses for precedence of operation (CERT_C-EXP00)
|
[6]
Use parenthesis to clarify expression order if operators with precedence lower than arithmetic are used (CERT_C-EXP00-a-3)
|
[8]
CERT-DCL00_C (REC) Const-qualify immutable objects (CERT_C-DCL00)
|
[8]
Declare parameters or local variable as const whenever possible (CERT_C-DCL00-a-3)
|
[1]
CERT-FLP30_C (RULE) Do not use floating-point variables as loop counters (CERT_C-FLP30)
|
[1]
Do not use floating point variables as loop counters (CERT_C-FLP30-a-2)
|
[3]
Initialization (INIT)
|
[3]
All member variables should be initialized in constructor (INIT-06-1)
|