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

os::is_first_C_frame(frame*) crashes on invalid link access

    XMLWordPrintable

Details

    • b15
    • x86

    Backports

      Description

        os::is_first_C_frame(frame*) checks whether the current frame
        cannot be safely unwound. It checks for example whether the previous
        frame pointer is not null. For this check it uses the frame::link()
        method which, on platforms like x86, dereferences a location on the stack.
        Retrieving this link may crash if the caller frame is not available.

        Furthermore, all address checks in os::is_first_C_frame(frame*) only
        check for non null, not checking whether the pointers pointing into
        the stack really point into it.

        Attachments

          Issue Links

            Activity

              People

                jbechberger Johannes Bechberger
                mdoerr Martin Doerr
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: