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

Uninitialised memory in WinAccessBridge.cpp:1128

    Details

      Backports

        Description

        In WinAccessBridge.cpp there is this line of code at line 1128.
        HWND pkgVMID = (HWND)ABLongToHandle( pkg->rVMID ) ;

        rVMID is not initialized at this point.

          Activity

          Hide
          ptbrunet Pete Brunet (Inactive) added a comment -
          The line of code in question should not use rVMID; it should just be
          HWND pkgVMID;

          pkgVMID is an [out] parameter on the following call to findAccessBridgeWindow, not an [in out].

          Show
          ptbrunet Pete Brunet (Inactive) added a comment - The line of code in question should not use rVMID; it should just be HWND pkgVMID; pkgVMID is an [out] parameter on the following call to findAccessBridgeWindow, not an [in out].
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/282fa37a9dc4
          User: ptbrunet
          Date: 2016-04-07 00:01:05 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/282fa37a9dc4 User: ptbrunet Date: 2016-04-07 00:01:05 +0000
          Show
          ptbrunet Pete Brunet (Inactive) added a comment - Patch: http://cr.openjdk.java.net/~ptbrunet/JDK-8153149/webrev.00/
          Show
          ptbrunet Pete Brunet (Inactive) added a comment - Review: http://mail.openjdk.java.net/pipermail/swing-dev/2016-April/005636.html
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/282fa37a9dc4
          User: lana
          Date: 2016-04-27 18:46:47 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/282fa37a9dc4 User: lana Date: 2016-04-27 18:46:47 +0000

            People

            • Assignee:
              ptbrunet Pete Brunet (Inactive)
              Reporter:
              rhalade Rajan Halade
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: