Csaba Ringhofer created IMPALA-12969:
----------------------------------------

             Summary: DeserializeThriftMsg may leak JNI resources
                 Key: IMPALA-12969
                 URL: https://issues.apache.org/jira/browse/IMPALA-12969
             Project: IMPALA
          Issue Type: Bug
            Reporter: Csaba Ringhofer


JNI's GetByteArrayElements should be followed by a ReleaseByteArrayElements 
call, but this is not done in case there is an error during deserialization:

[https://github.com/apache/impala/blob/f05eac647647b5e03c3aafc35f785c73d07e2658/be/src/rpc/jni-thrift-util.h#L66]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to