gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (#112615)
Work around a macOS bug, limit zlib crc32 calls to 1GiB. Without this, `zlib.crc32` and `binascii.crc32` could produce incorrect results on multi-gigabyte inputs depending on the macOS version's Apple supplied zlib implementation.
G
Gregory P. Smith committed
4eddb4c9d9452482c9af7fa9eec223d12b5a9f33
Parent: a1551b4
Committed by GitHub <noreply@github.com>
on 12/4/2023, 8:04:05 PM