You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2019/12/10 23:31:00 UTC

[jira] [Created] (IMPALA-9232) Potential overflow in SerializeThriftMsg

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)