#279 stage3-svn (7689) rgb.txt blank lines cause hang

closed-fixed
stage (111)
5
2009-07-17
2009-05-20
Anonymous
No

If the rgb.txt contains blank or whitespace only lines stage will hang due to the rgb.txt processing:

while (strchr(" \t\n", line[strlen(line)-1]))
line[strlen(line)-1] = 0;

I imagine just checking that strlen(line) > 1 would fix this, but I just fixed my rgb.txt instead

Discussion

  • Toby Collett

    Toby Collett - 2009-07-17
    • status: open --> closed-fixed
     
  • Toby Collett

    Toby Collett - 2009-07-17

    Fixed in CVS HEAD. Thanks very much for the report.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks