-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-8098: [Go] Avoid unsafe unsafe.Pointer usage
The checkptr check in go 1.14 flags `unsafe.Pointer(uintptr(x))` as potentially unsafe due to the possibility of dereferencing arbitrary memory. This commit instead uses bare pointers for the length & byte fields https://issues.apache.org/jira/browse/ARROW-8098 Closes #6600 from kevinconaway/kevinconaway/fix-checkptr-u Authored-by: Kevin Conaway <kevin.conaway@datadoghq.com> Signed-off-by: Sebastien Binet <binet@cern.ch>
- Loading branch information
1 parent
585ce8d
commit 89ce1ca
Showing
2 changed files
with
5 additions
and
5 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
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