[Top][All Lists]

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

[Bug #1190] seeks past EOF

From: nobody
Subject: [Bug #1190] seeks past EOF
Date: Thu, 12 Sep 2002 12:16:03 -0400

=================== BUG #1190: FULL BUG SNAPSHOT ===================

Submitted by: crawley                   Project: classpath                      
Submitted on: 2002-Sep-12 16:16
Severity:  5 - Major                    Resolution:  None                       
Assigned to:  None                      Status:  Open                           
Platform Version:  Red Hat 7.x          

Summary: seeks past EOF

Original Submission:  The Sun javadocs imply that skipBytes() should not skip
past the EOF of a file, and that's the way that JDK 1.4
behaves.  But the Classpath version will seek of into 
the distance.

This bug is exercised by Mauve testcase
which goes into an infinite loop.

The bug is in the native code.  The lseek(2) syscall
can seek beyond the EOF position on Linux.  A 3rd lseek
call is needed to test for this, and a 4th to correct it.

No Followups Have Been Posted

CC list is empty

No files currently attached

For detailed info, follow this link:

reply via email to

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