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

Potential overflow in SerializeThriftMsg

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • Backend
    • None
    • ghx-label-7

    Description

      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.

      Attachments

        Activity

          People

            sql_forever Qifan Chen
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: