Tim Armstrong created IMPALA-9232:
-------------------------------------

             Summary: Potential overflow in SerializeThriftMsg
                 Key: IMPALA-9232
                 URL: https://issues.apache.org/jira/browse/IMPALA-9232
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Tim Armstrong
            Assignee: Tim Armstrong


https://github.com/apache/impala/blob/master/be/src/rpc/jni-thrift-util.h#L30 a 
uint32_t is passed into NewByteArray and SetByteArrayRegion which both take 
int32_t arguments.

I think the RETURN_ERROR_IF_EXC checks would likely catch this, but would be 
good to fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to