Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue38540

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Possible leaks in PyArg_Parse for "es#" and "et#"
Type:resource usageStage:resolved
Components:Interpreter CoreVersions:Python 3.9, Python 3.8, Python 3.7, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: methane, miss-islington, serhiy.storchaka
Priority:normalKeywords:patch

Created on2019-10-21 06:20 byserhiy.storchaka, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 16869mergedserhiy.storchaka,2019-10-21 06:25
PR 16870mergedmiss-islington,2019-10-21 08:35
PR 16871mergedmiss-islington,2019-10-21 08:35
PR 16876mergedserhiy.storchaka,2019-10-21 18:02
PR 16877mergedserhiy.storchaka,2019-10-21 18:10
Messages (6)
msg355022 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2019-10-21 06:20
There are possible leaks in PyArg_Parse and similar functions for format units "es#" and "et#". Macros STORE_SIZE and (since 3.8) FETCH_SIZE can leave the function despite there is an own reference to an encoded string (s). The leak is only possible when PY_SSIZE_T_CLEAN is not defined.
msg355030 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2019-10-21 08:35
New changeset5bc6a7c06eda20ba131ecba6752be0506d310181 by Serhiy Storchaka in branch 'master':bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-16869)https://github.com/python/cpython/commit/5bc6a7c06eda20ba131ecba6752be0506d310181
msg355031 -(view)Author: miss-islington (miss-islington)Date: 2019-10-21 08:56
New changeset3dec84f40ef49bab994a1af4e6082bf81021feab by Miss Skeleton (bot) in branch '3.7':bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (GH-16869)https://github.com/python/cpython/commit/3dec84f40ef49bab994a1af4e6082bf81021feab
msg355033 -(view)Author: miss-islington (miss-islington)Date: 2019-10-21 09:12
New changesetb1fc8c0c8aec7ef8edd119034e076bc48882ffbb by Miss Skeleton (bot) in branch '3.8':bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (GH-16869)https://github.com/python/cpython/commit/b1fc8c0c8aec7ef8edd119034e076bc48882ffbb
msg355098 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2019-10-21 18:40
New changesetccdfeb7e969bf3aafd43dbe6581c30f66f2b0890 by Serhiy Storchaka in branch '2.7':[2.7]bpo-38540: Fix possible leak in PyArg_Parse for "es#" and "et#". (GH-16869). (GH-16877)https://github.com/python/cpython/commit/ccdfeb7e969bf3aafd43dbe6581c30f66f2b0890
msg355099 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2019-10-21 18:41
New changeset928c68eee620cc6b624a195375143c2aa55644a4 by Serhiy Storchaka in branch '3.7':bpo-38540: Revert a warning if PY_SSIZE_T_CLEAN is not defined. (GH-16876)https://github.com/python/cpython/commit/928c68eee620cc6b624a195375143c2aa55644a4
History
DateUserActionArgs
2022-04-11 14:59:21adminsetgithub: 82721
2019-10-21 20:52:04serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-10-21 18:41:12serhiy.storchakasetmessages: +msg355099
2019-10-21 18:40:37serhiy.storchakasetmessages: +msg355098
2019-10-21 18:10:59serhiy.storchakasetpull_requests: +pull_request16422
2019-10-21 18:02:23serhiy.storchakasetpull_requests: +pull_request16421
2019-10-21 09:12:43miss-islingtonsetmessages: +msg355033
2019-10-21 08:56:53miss-islingtonsetnosy: +miss-islington
messages: +msg355031
2019-10-21 08:35:46miss-islingtonsetpull_requests: +pull_request16416
2019-10-21 08:35:39miss-islingtonsetpull_requests: +pull_request16415
2019-10-21 08:35:10serhiy.storchakasetmessages: +msg355030
2019-10-21 06:25:00serhiy.storchakasetkeywords: +patch
stage: patch review
pull_requests: +pull_request16414
2019-10-21 06:20:30serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp