Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12102

The JniUtil::GetJniExceptionMsg() method has the risk of memory leakage when handling JNI exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.2.0, Impala 4.0.0, Impala 3.3.0, Impala 3.4.0, Impala 3.4.1, Impala 4.1.0, Impala 4.2.0, Impala 4.1.1, Impala 4.1.2
    • Impala 3.4.2, Impala 4.3.0
    • None
    • None

    Description

      When the JniUtil::GetJniExceptionMsg() method handles the JNI exceptions, the reference to the jstring object is not released in time, which may cause a memory leak problem.

      Attachments

        1. image-2023-04-26-20-46-55-583.png
          88 kB
          Zhi Tang
        2. image-2023-04-26-20-47-56-620.png
          866 kB
          Zhi Tang

        Activity

          People

            tangzhi Zhi Tang
            tangzhi Zhi Tang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: