bug-classpath
[Top][All Lists]
Advanced

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

[Bug xml/44819] New: XML parser: require fails due to bad interfacing wi


From: mario dot schroettner at siemens dot com
Subject: [Bug xml/44819] New: XML parser: require fails due to bad interfacing with unicode-read
Date: 5 Jul 2010 08:33:50 -0000

private void require(String delim) ... proc contains
...
(line1299) int l2 = read(tmpBuf, off, len -off);
if (l2==-1)
...
off+=l2;

as read(int[] b, int off, int len)  returns the full offset (at least it does 
with unicodeReader.read)
the calculation off+=l2 will set the off counter to an invalid postion within
input stream ==> require will fail


-- 
           Summary: XML parser:  require fails due to bad interfacing with
                    unicode-read
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: xml
        AssignedTo: dog at gnu dot org
        ReportedBy: mario dot schroettner at siemens dot com


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




reply via email to

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