https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6176

--- Comment #8 from Nico Prenzel <[email protected]> 2009-12-17 
08:18:35 UTC ---
replace the corresponding while loop with the following:
while(!(feof(config)) && (fgets(option, CONFIG_MAX_LINE_SIZE, config) != NULL))
{

then I don't see any more case where fgets could return a null pointer.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to