]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126594: Fix typeobject.c wrap_buffer() cast (#126754)
authorVictor Stinner <vstinner@python.org>
Tue, 19 Nov 2024 08:13:20 +0000 (09:13 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2024 08:13:20 +0000 (09:13 +0100)
commit84f07c3a4cbcfe488ccfb4030571be0bc4de7e45
tree6561e024036dfab43523d077571784f905952911
parentb3687ad454c4ac54c8599a10f3ace8a13ca48915
gh-126594: Fix typeobject.c wrap_buffer() cast (#126754)

Reject flags smaller than INT_MIN.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_buffer.py
Objects/typeobject.c