Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ORC-1834: [C++] Fix undefined behavior
### What changes were proposed in this pull request? Unaligned reads are UB in C++, memcpy-ing zero bytes is UB either. ### How was this patch tested? Internal UBsan report was used to detect and fix this bug. Closes #2112 from georgthegreat/patch-3. Authored-by: Yuriy Chernyshov <[email protected]> Signed-off-by: Gang Wu <[email protected]>
- Loading branch information