bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/26314] New: ChunkedInputStream.skip() badly broken.


From: daney at gcc dot gnu dot org
Subject: [Bug classpath/26314] New: ChunkedInputStream.skip() badly broken.
Date: 16 Feb 2006 07:21:52 -0000

If skip() is called on a ChunkedInputStream, the skipped bytes are unaccouned
for in the chunk count.  This leads to loss of synchronization with the chunk
headers and a likely NumberFormatException in a subsiquent read.

Probably ChunkedInputStream should not extend FilterInputStream.  In any event
it needs its own skip() and available() methods that keep track of the chunk
byte accounting.


-- 
           Summary: ChunkedInputStream.skip() badly broken.
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: *-*-*


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





reply via email to

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