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

stack-use-after-scope in ZeroInterpreter::native_entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot

      This is specifically for Zero, see https://github.com/openjdk/jdk/pull/12477#issuecomment-1424571609.

      It looks like the address of `env` is taken and stored in a buffer, however `env` becomes invalidated after the block and the buffer is then passed to FFI. `env` needs to outlive, so it should probably be moved up outside of the block.

            Unassigned Unassigned
            jcking Justin King
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: