Reply To: svn-1655 – Crash reading config file ….

#12458
rpedde
Participant

@evans02472 wrote:

I am getting a crash when reading the config file, specifically on line 915 of io.c.

numread is 0 in my case and buf[numread-1] is not so cool ….

I put in a simple check in the if to make sure that nothing happens in the numread ==0 case.

…tom

Oops.. actually, the EOF check should be before the line parsing stuff. D’oh. I cut and pasted some stuff around for the windows line ending conversions and missed the obvious. D’oh!

Will be fixed next nightly.

— Ron