Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.7.0
Description
GetRows() tries to read an entire stream into a RowBatch. The stream num_rows is a 64-bit int but the RowBatch num_rows is a 32-bit int. If GetRows() is called with num_rows > INT_MAX the likely result is a crash
The GetRows() API has other flaws (IMPALA-2758) but it would be good to avoid this particular crash.