Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7123415

Some cases of network interface indexes being read incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b23
    • generic
    • linux
    • Verified

      In src/solaris/native/java/net/net_util_md.c, there are instances of the network interface index being read in by a "%02x". These instances are on lines 616 and 1110 of net_util_md.c and they appear involve code that obtains the default loopback interface index and default ipv6 interface index. It has been shown by CR 7078386 that the index value can be more than two digits. Therefore, these instances should likely be changed to "%08x" as instructed in CR 7078386.

            bpassani Brandon Passanisi
            bpassani Brandon Passanisi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: