Hide Forgot
Description of problem: fipscheck uses getline() to read its hmac files, fread() might be better Version-Release number of selected component (if applicable): default branch How reproducible: 100% Steps to Reproduce: 1. build fipscheck 2. truncate -s 1T src/.libs/.libfipscheck.so.1.hmac 3. ./src/fipscheck ./src/fipscheck Actual results: Machine goes into the weeds. It did come back eventually so, perhaps I should try a bigger file? Expected results: Short sharp error. Additional info: The problem is with: if (getline(&hmac, &n, hf) > 0) { I suspect fread() would be safer.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.