Menu

#73 Bug in CgiExec

Bug
closed-fixed
5
2008-04-17
2008-04-17
No

In latest nscgi.c code (http://naviserver.cvs.sourceforge.net/naviserver/naviserver/nscgi/nscgi.c?revision=1.9&view=markup) there is a bug at line 791:
for (i = 0; p != '\0'; ++p) {

Should have been

for (i = 0; *p != '\0'; ++p) {

I am very surprised how CGIs were working for you. (In Linux it loops endlessly, eventualy crashing when requesting whatever CGI.)

Discussion

  • Zoran Vasiljevic

    • assigned_to: nobody --> vasiljevic
    • status: open --> closed-fixed
     
  • Zoran Vasiljevic

    Logged In: YES
    user_id=95086
    Originator: NO

    Fixed. Thanks for the report.

     

Log in to post a comment.