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

Java plugin returns uninitialized data to Firefox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_nevada

      Description

      The bug is related to the mozilla bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=363447. With some investigation, I found that Java plugin might return uninitialized data to Firefox in file remotejni.cpp, in the functions jni_GetMethodID and jni_GetStaticMethodID, maybe more.

      I think here is the problem: after the statement "retval = (jmethodID) checked_malloc(sizeof(struct _jmethodID));", the value "retval" should be set to zero.

        Attachments

          Activity

            People

            Assignee:
            dphamsunw Danielle Pham (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: