]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-136053: Check error for TYPE_SLICE in marshal.c (GH-136054) (GH-136092)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 29 Jun 2025 07:36:04 +0000 (09:36 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Jun 2025 07:36:04 +0000 (07:36 +0000)
commitce659561776b14f074d197078909891af9c1eeb0
tree567efad1216ef768b566037a88293667488279d5
parent7df3eee6455d783754797cde99a8bff06e5d00ab
[3.14] gh-136053: Check error for TYPE_SLICE in marshal.c (GH-136054) (GH-136092)

Fix a possible crash when deserializing a large marshal data
(at least several GiBs) containing a slice.
(cherry picked from commit 30ba03ea8ed98522b0500d6856b22727c88e818f)

Co-authored-by: Akshat Gupta <akshat.gupta24@gmail.com>
Misc/NEWS.d/next/Security/2025-06-27-21-23-19.gh-issue-136053.QZxcee.rst [new file with mode: 0644]
Python/marshal.c