(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-settings/settings.c) |
| |
| 36 | | | static const char *get_uint(const char *value, unsigned int *result) |
| 37 | | | { |
| 38 | | | int num; |
| 39 | | | |
| 40 | | | if (!sscanf(value, "%i", &num) || num < 0) |
Event 1:
__isoc99_sscanf() does not initialize num. - This may be because of a failure case or other special case for __isoc99_sscanf(). Consult the __isoc99_sscanf() documentation for more information.
hide
Event 2:
sscanf(value, "%i", &num) evaluates to true.
hide
Uninitialized Variable
num was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |