Michael Smith created IMPALA-15379:
--------------------------------------

             Summary: Undefined VLA size 0 in CodegenEvalConjuncts and 
CodegenMaterializeExprs
                 Key: IMPALA-15379
                 URL: https://issues.apache.org/jira/browse/IMPALA-15379
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Michael Smith


Creating a variable-length array with size 0 is undefined in C (and VLAs are 
only allowed in C++ via GCC/Clang extensions).

ExecNode::CodegenEvalConjuncts and Tuple::CodegenMaterializeExprs both 
initialize VLAs that can have an input size of 0, which newer Clang versions 
identify in UBSAN builds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to