[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #8540] gnu.java.net.protocol.http.Connection doesn't h
From: |
Michael Koch |
Subject: |
[commit-cp] [bugs #8540] gnu.java.net.protocol.http.Connection doesn't handle null from DataInputStream.readLine() |
Date: |
Wed, 01 Dec 2004 08:00:25 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; 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:
Mit 01.12.2004 at 12:54 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Category | None | classpath
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
This bug got obsoleted by the HTTP protocol implementation from GNU inetlib.
This implementation does not use DataInputStream.readLine() at all. The merged
version is commited th CVS and will be in GNU classpath 0.13.
/**************************************************************************/
[bugs #8540] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8540>
Project: classpath
Submitted by: 0
On: Mon 12.04.2004 at 00:03
Category: classpath
Severity: 5 - Average
Resolution: Fixed
Privacy: Public
Assigned to: mkoch
Status: Closed
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: Mit 01.12.2004 at 12:54 By: Michael Koch <mkoch>
This bug got obsoleted by the HTTP protocol implementation from GNU inetlib.
This implementation does not use DataInputStream.readLine() at all. The merged
version is commited th CVS and will be in GNU classpath 0.13.
-------------------------------------------------------
Date: Fre 07.05.2004 at 11:31 By: Michael Koch <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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] [bugs #8540] gnu.java.net.protocol.http.Connection doesn't handle null from DataInputStream.readLine(),
Michael Koch <=