-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timestamp parsing in ORC reader for timezones without transitions(#…
…6959) Fixes #6947 When TZif file has no transitions (e.g. GMT), `build_timezone_transition_table` has an out-of-bounds read that leads to undefined behavior and intermittent issues. This PR makes two changes to behavior: 1. When there are no transitions, the ancient rule is initialized from the first time offset (instead of the first transition rule, which does not exist in this case). 2. When there are no transitions and the time offset is zero, an empty table is returned (avoid using a no-op table in CUDA). Authors: - vuule <[email protected]> - Vukasin Milovanovic <[email protected]> Approvers: - GALI PREM SAGAR - null - Ram (Ramakrishna Prabhu) - David URL: #6959
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters