Code review for JDK-7145527 sscanf must use a length in the format string

Ron Durbin ron.durbin at oracle.com
Fri May 17 13:32:08 PDT 2013


Zhengyu,Coleen, and Dan

Many thanks for the quick turn around on this code review.


> -----Original Message-----
> From: Zhengyu Gu
> Sent: Friday, May 17, 2013 11:34 AM
> To: hotspot-runtime-dev at openjdk.java.net
> Subject: Re: Code review for JDK-7145527 sscanf must use a length in the format string
> 
> Good to me.
> 
> -Zhengyu
> 
> On 5/17/2013 10:37 AM, Ron Durbin wrote:
> >      JDK-7145527 sscanf must use a length in the format string
> >
> >      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7145527
> >
> >      https://jbs.oracle.com/bugs/browse/JDK-7145527
> >
> >
> >      OpenJDK URL: http://cr.openjdk.java.net/~rdurbin/7145527-webrev/0-hsx25/
> >
> >      Internal URL http://javaweb.us.oracle.com/~rdurbin/7145527-webrev/0-hsx25/
> >
> >      Summary: All active HotSpot code is already using length specifiers for string arguments
> >      to scanf, fscanf and sscanf.
> >      Some dead code in debug.cpp was calling scanf incorrectly and this change will remove it.
> >
> >      Testing: Regular JPRT build and test job
> 


More information about the hotspot-runtime-dev mailing list