svn-1655 – Crash reading config file ….

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1699
    evans02472
    Participant

    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

    #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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.