Age | Commit message (Collapse) | Author |
|
The terminating nul character ('\0') could be written outside the boundary of
the buffer which is used to read characters. If "sizeof(buffer)" characters
are read, the resulting value must not be used as index, because that's an off
by one.
Read sizeof(buffer)-1 bytes instead.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
opts can't be all called at the same time, that's why a separator is required
|
|
|
|
as a format string in snprintf()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newline after printing string stderr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This feature was originally removed as part of 52d19f9.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
page version number fails
|
|
|
|
|