-
Tobias Stoeckmann authored
If ereadfile encounters an empty file or the file could not be read, an out ouf boundary read (and possible write) occurs. Always check the return value of fread to be > 0 before processing the result buffer. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org>
Tobias Stoeckmann authoredIf ereadfile encounters an empty file or the file could not be read, an out ouf boundary read (and possible write) occurs. Always check the return value of fread to be > 0 before processing the result buffer. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org>