Skip to content
Snippets Groups Projects
user avatar
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: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
bdee6af0
History
Name Last commit Last update