Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#73 Bug in CgiExec

Bug
closed-fixed
5
2008-04-17
2008-04-17
bogdan dragusanu
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

    • assigned_to: nobody --> vasiljevic
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=95086
    Originator: NO

    Fixed. Thanks for the report.