simple
style
Redundant condition. It is valid to free a NULL pointer.
warning
ENV04-C. Do not call system() if you do not need a command processor
define
style
PRE03-C. Prefer typedefs to defines for encoding types
raw
/<-]]]>
style
PRE07-C. Avoid using repeated question marks
raw
style
DCL04-C. Do not declare more than one variable per declaration
raw
style
DCL05-C. Use typedefs of non-pointer types only
raw
style
DCL20-C. Always specify void even if a function accepts no arguments
style
EXP08-C. Ensure pointer arithmetic is used correctly
raw
warning
EXP06-C. Operands to the sizeof operator should not contain side effects
raw
warning
EXP02-A. The second operands of the logical AND and OR operators should not contain side effects
raw
warning
EXP04-A. Do not perform byte-by-byte comparisons between structures
raw
.] )(\b\w+\b)[^{};()'"]*[\[+,*/=-][^{};()'"]*(?:\b\1\b [+-]{2}|[+-]{2} \b\1\b)]]>
warning
EXP30-C. Do not depend on order of evaluation between sequence points
normal
error
The result of strncpy(a, b, sizeof(a)) will not be null-terminated
raw
style
STR05-A. Prefer making string literals const-qualified
error
The mktemp() function modifies its string argument
error
Buffer overrun possible for long environment variables.
error
The gets() function is obsolescent, and is deprecated
warning
rewind() cannot report about errors, use fseek
style
ato*() cannot report about errors, use strtol
warning
The snprintf() funciton can return -1
style
Avoid using sprintf/vsprintf
warning
TMP30-C. Temporary files must created with unique and unpredictable file names
warning
The mktemp() function was marked LEGACY in the Open Group Base Specifications Issue 6
warning
SIG00-A. Avoid using the same handler for multiple signals
raw
warning
Maybe here should be == operator?
warning
The { } block is always executed because of the ";" following the if statement
warning
Using the vfork function could result in a denial of service vulnerability
simple
warning
The string pointed to by the return value of getenv() can be modified by a subsequent call to getenv, putenv, setenv, or unsetenv