Request for review: 8004495: [parfait] False positive Buffer overflow in hotspot/src/os/linux/vm/os_linux.cpp

Mikael Vidstedt mikael.vidstedt at
Tue Feb 19 08:58:18 PST 2013

Looks good, thanks for fixing!

Do you happen to know what happens if one happens to run the 
latest/greatest JDK version on an old Linux kernel?


On 2013-02-19 07:19, harold seigel wrote:
> Hi,
> Please review the following change.
> Summary: This is a parfait bug concerning a possible buffer overflow 
> when using '%s' in fscanf().  However, the entire block of code 
> containing the fscanf() is for older versions of Linux that are no 
> longer supported.  So, the block of code can just be deleted.
> Open webrev: 
> <>
> Bug link at:
> The changes were tested with JPRT, JCK Lang and VM tests, UTE tests, 
> and with JTREG tests.  Also, the api/javax_management tests were run 
> with the UseLinuxPoisxThreadCPUClocks flag explicitly turned on and off.
> Thanks!  Harold

More information about the hotspot-runtime-dev mailing list