Check value read from file before using it as malloc() argument.
Fixes Coverity warning.
1 file changed