commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #8540] gnu.java.net.protocol.http.Connection doesn't handle null f


From: Michael Koch
Subject: [bugs #8540] gnu.java.net.protocol.http.Connection doesn't handle null from DataInputStream.readLine()
Date: Fri, 07 May 2004 07:31:36 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; de, address@hidden) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: classpath.

/**************************************************************************/
[bugs #8540] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Fri 05/07/04 at 11:31 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | mkoch


------------------ Additional Follow-up Comments ----------------------------
And what does JDK did in you case ? Throw an IOException ? or an EOFException ? 
Can you provide a testcase we can use for regression tests ?






/**************************************************************************/
[bugs #8540] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8540>
Project: classpath
Submitted by: 0
On: Mon 04/12/04 at 00:03

Severity:  5 - Average
Resolution:  None
Assigned to:  mkoch
Status:  Open
Platform Version:  None


Summary:  gnu.java.net.protocol.http.Connection doesn't handle null from 
DataInputStream.readLine()

Original Submission:  Like the summary says.

Though it was a bug with my HTTP sender which returned a malformed HTTP 
response, Connection doesn't check the return value of inputStream.readLine() 
in receiveReply() before using indexOf on it.

The current version of Connection in  CVS (1.16) has this problem.

Mark Baker -- address@hidden

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 05/07/04 at 11:31         By: mkoch
And what does JDK did in you case ? Throw an IOException ? or an EOFException ? 
Can you provide a testcase we can use for regression tests ?












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8540>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]