bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22733] gnu.java.net.protocol.http.Connection doesn't hand


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22733] gnu.java.net.protocol.http.Connection doesn't handle null from DataInputStream.readLine()
Date: 16 Oct 2005 01:26:52 -0000

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


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-05-07 
11:31 -------
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 ?


------- Comment #2 from from-classpath at savannah dot gnu dot org  2004-12-01 
12:54 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22733





reply via email to

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