[Bug 3596] New: [IcedTea8] sprintf array too small on 64-bit platforms

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon May 28 09:04:55 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3596

            Bug ID: 3596
           Summary: [IcedTea8] sprintf array too small on 64-bit platforms
           Product: IcedTea
           Version: 3.x-hg
          Hardware: 64-bit
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: gnu.andrew at redhat.com
                CC: unassigned at icedtea.classpath.org

/builddir/build/BUILD/icedtea-3.8.0/openjdk-boot/hotspot/src/share/vm/code/dependencies.cpp:
In function 'static void Dependencies::write_dependency_to(xmlStream*,
Dependencies::DepType, GrowableArray<Dependencies::DepArgument>*, Klass*)':
/builddir/build/BUILD/icedtea-3.8.0/openjdk-boot/hotspot/src/share/vm/code/dependencies.cpp:528:32:
warning: '%d' directive writing between 1 and 10 bytes into a region of size 9
[-Wformat-overflow=]
       char xn[10]; sprintf(xn, "x%d", j);
                                ^~~~~
/builddir/build/BUILD/icedtea-3.8.0/openjdk-boot/hotspot/src/share/vm/code/dependencies.cpp:528:32:
note: directive argument in the range [0, 2147483647]

Fixed by https://bugs.openjdk.java.net/browse/JDK-8184309 in OpenJDK 10.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180528/e94fa3bc/attachment.html>


More information about the distro-pkg-dev mailing list