Kazuaki Ishizaki created SPARK-23976:

             Summary: UTF8String.concat() or ByteArray.concat() may allocate 
shorter structure.
                 Key: SPARK-23976
                 URL: https://issues.apache.org/jira/browse/SPARK-23976
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.3.0
            Reporter: Kazuaki Ishizaki

When the three inputs has `0x7FFF_FF00`, `0x7FFF_FF00`, and `0xE00`, the 
current algorithm allocate the result structure with 0x1000 length due to 
integer sum overflow.

We should detect overflow.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to