httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29627] New: - Data leakage
Date Thu, 17 Jun 2004 04:31:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29627>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29627

Data leakage

           Summary: Data leakage
           Product: Apache httpd-2.0
           Version: 2.0.45
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: abru_ind@yahoo.com
                CC: abru_ind@yahoo.com


Hi,

We are trying to write a huge amount of Data to Apache: About 11037 bytes of 
information.. See the Message..

String msg ="NI__NISM001103721204|5 ...
...
...
"993|2121260994|2121260995|2121260996|2121260997|2121260998|2121260999||||60003|
0||0|||" ;


It seems that Apache is receiving all these information.. I have added debug 
statement in apache source code and got to know about this.

But after some time the following piece of code is hit in mod_cgi.c.

            rv = apr_file_write_full(script_out, data, len, NULL);

            if (rv != APR_SUCCESS) {
                /* silly script stopped reading, soak up remaining message */
                child_stopped_reading = 1;
            }
and it says that child_stopped_reading....Rest of the Data apache ignores..

At the Cgi Receiving Side we tried using both perl and C++ Code for receving 
data. For C++ we tried both read and fread both of them is giving as partial 
data and after that it says it met with some eof character. If we use perl this 
gives the same result...


I modified apache source code so that in readwrite.c in the function 
apr_file_write

after every write() I put a sleep for 2 seconds.. Then everything started 
working..

Any input for this problem will be of much help.. We are not able to proceed 
because of this.. 

If the data is below 8192 bytes, things seems to be working fine..

Thanks and Regards,
Abraham

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message