Request for review: 8004495: [parfait] False positive Buffer overflow in hotspot/src/os/linux/vm/os_linux.cpp
harold.seigel at oracle.com
Tue Feb 19 10:29:52 PST 2013
Thanks for the review.
I don't know what happens if the latest/greatest JDK is run on an old
Linux kernel. Perhaps it would complain about missing or mismatched
shared libraries during activation?
On 2/19/2013 11:58 AM, Mikael Vidstedt wrote:
> 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:
>> 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: http://cr.openjdk.java.net/~hseigel/bug_8004495/
>> Bug link at: https://jbs.oracle.com/bugs/browse/JDK-8004495
>> 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