Ticket #890: pr890-cvshead.diff

File pr890-cvshead.diff, 672 bytes (added by Thomas Rauscher, on 12/03/06 at 13:31:12)

pr890-cvshead.diff

  • cpukit/httpd/webs.c

    RCS file: /usr1/CVS/rtems/cpukit/httpd/webs.c,v
    retrieving revision 1.5
    diff -u -r1.5 webs.c
     
    583583                        return -1;
    584584
    585585                }  else if (nbytes == 0) {                              /* EOF or No data available */
     586                        /* Bugfix for POST DoS attack with invalid content length */
     587                        if (socketEof(wp->sid)) {
     588                                websDone(wp, 0);
     589                        }
     590                        /* End of bugfix */
    586591                        return -1;
    587592
    588593                } else {                                                                /* Valid data */