Please sign in to comment.
[SPARK-23391][CORE] It may lead to overflow for some integer multipli…
…cation ## What changes were proposed in this pull request? In the `getBlockData`,`blockId.reduceId` is the `Int` type, when it is greater than 2^28, `blockId.reduceId*8` will overflow In the `decompress0`, `len` and `unitSize` are Int type, so `len * unitSize` may lead to overflow ## How was this patch tested? N/A Author: liuxian <email@example.com> Closes #20581 from 10110346/overflow2. (cherry picked from commit 4a4dd4f) Signed-off-by: Sean Owen <firstname.lastname@example.org>
- Loading branch information...
Showing with 3 additions and 3 deletions.