Code review for JDK-7145527 sscanf must use a length in the format string
Daniel D. Daugherty
daniel.daugherty at oracle.com
Fri May 17 08:09:15 PDT 2013
On 5/17/13 8: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/
src/share/vm/utilities/debug.cpp
No comments
Thumbs up.
Dan
>
> 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