You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Qifan Chen (Jira)" <ji...@apache.org> on 2020/10/15 17:15:00 UTC

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

     [ https://issues.apache.org/jira/browse/IMPALA-9232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Qifan Chen resolved IMPALA-9232.
--------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> 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: Qifan Chen
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org