diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-04 20:20:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 20:20:41 (GMT) |
commit | be4acc7040c6a94f23d78630504699acdfa43830 (patch) | |
tree | bd3bc01115b8b280e7f68b841d2900dd611320fd /Python/emscripten_signal.c | |
parent | 8dbda1cf3eab8696dfbb95f0ca60af8db39d51c4 (diff) | |
download | cpython-be4acc7040c6a94f23d78630504699acdfa43830.zip cpython-be4acc7040c6a94f23d78630504699acdfa43830.tar.gz cpython-be4acc7040c6a94f23d78630504699acdfa43830.tar.bz2 |
[3.11] gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615) (#112725)
gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-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.
(cherry picked from commit 4eddb4c9d9452482c9af7fa9eec223d12b5a9f33)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python/emscripten_signal.c')
0 files changed, 0 insertions, 0 deletions