The readlink()
function reads where a link points to. It makes no effort to nullNULL-terminate its second argument, buffer
. Instead, it just returns the number of characters it has written.
...
If len
is equal to sizeof(buf)
, the null NULL terminator will be written one byte past the end of buf
.
...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
POS30-C | 1 ( low ) | 2 ( probable ) 2 ( | medium ) | P4 | L3 |
Related Vulnerabilities
...