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

[aix] Crash in ResolverConfigurationImpl.c - pointer shearing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b89
    • OS:
      aix

      Backports

        Description

        On AIX, in ResolverConfigurationImpl.c, prototype for strchr() is missing (because string.h is not inluded). This causes the C compiler to assume a return value of int, which causes the returned 64bit pointer to loose its upper 32bits.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: