...
| Code Block | ||||
|---|---|---|---|---|
| ||||
#include <stdio.h> /* ... */ int i; float x; int n = fscanfscanf(stdin, "%d%f", &i, &x); |
‘outer-to-inner’’ assignments
between restricted pointers
Risk Assessment
Using functions such as memcpy(), strcpy(), strncpy(), sscanf(), sprintf(), snprintf(), mbstowcs(), and wcstombs() to copy overlapping objects results in undefined behavior that can be exploited to cause data integrity violations.
...