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

Bytecodes::special_length_at reads past end of code buffer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6u8
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Bytecodes::special_length_at does not check for the end of the buffer before reading from memory. This can cause uninitialized or even unmapped memory to be read. The attached test triggers this condition using tableswitch.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kamg Keith Mcguigan
                  Reporter:
                  dlong Dean Long
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: