...
Code Block | ||
---|---|---|
| ||
void report_error(char const *msg) { printf("Error: %s\n", msg); } |
Risk Assessment
Splint Version 3.1.1 can detect violations of this rule.
Accessing uninitialized variables generally leads to unexpected program behavior. In some cases these types of flaws may allow the execution of arbitrary code.
...