...
| Code Block | ||
|---|---|---|
| ||
FILE* fptr = fopen(file_name, "rb");
fpos_t pos;
if (fptr == NULL) {
/* Handle Error */
}
/* Read data */
if (fgetpos(fptr, &pos)) {
/* Handle Error */
}
/* Read the data that will be "pushed back" */
if (fsetpos(fptr, &pos)) {
/* Handle Error */
}
/* Continue on */
|
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
FIO13-A | 2 ( medium ) 2 ( | probable ) | 1 ( high ) | P4 | L3 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...