Issue 36234: test_os: add tests for invalid uid type (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/80415
classification
Title: | test_os: add tests for invalid uid type | ||
---|---|---|---|
Type: | Stage: | resolved | |
Components: | Tests | Versions: | Python 3.8, Python 3.7, Python 2.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | miss-islington, vstinner | |
Priority: | normal | Keywords: | patch |
Created on 2019-03-08 10:12 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
00157-uid-gid-overflows.patch | vstinner,2019-03-08 10:12 |
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 12234 | merged | vstinner,2019-03-08 10:28 | |
PR 12235 | merged | vstinner,2019-03-08 11:58 | |
PR 12274 | merged | miss-islington,2019-03-11 12:58 |
Messages (6) | ||
---|---|---|
msg337464 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2019-03-08 10:12 |
The Fedora package of python contains a downstream patch to add more tests for invalid uid types: https://src.fedoraproject.org/rpms/python2/blob/master/f/00157-uid-gid-overflows.patch I propose to make this patch upstream. More tests never hurts :-) uid/gid overflow has been fixed bpo-4591. The patch comes from: https://bugzilla.redhat.com/show_bug.cgi?id=697470 Attached PRs add more tests. | ||
msg337465 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2019-03-08 10:14 |
See _Py_Uid_Converter() and _Py_Gid_Converter() of Modules/posixmodule.c. | ||
msg337663 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2019-03-11 12:57 |
New changeset 876e82b4f32075e1bd21750bf852a103035fce23 by Victor Stinner in branch 'master': bpo-36234: Add more tests to PosixUidGidTests (GH-12234) https://github.com/python/cpython/commit/876e82b4f32075e1bd21750bf852a103035fce23 | ||
msg337664 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2019-03-11 12:59 |
New changeset 701af605df336c9e32751e9031266a2da60656c1 by Victor Stinner in branch '2.7': bpo-36234: test_os: check TypeError for invalid uid type (GH-12235) https://github.com/python/cpython/commit/701af605df336c9e32751e9031266a2da60656c1 | ||
msg337665 - (view) | Author: miss-islington (miss-islington) | Date: 2019-03-11 13:18 |
New changeset 24872e1e15a816fb8e79c2885cafb7d785393547 by Miss Islington (bot) in branch '3.7': bpo-36234: Add more tests to PosixUidGidTests (GH-12234) https://github.com/python/cpython/commit/24872e1e15a816fb8e79c2885cafb7d785393547 | ||
msg337666 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2019-03-11 13:20 |
Thanks David Malcolm :-) |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:12 | admin | set | github: 80415 |
2019-03-11 13:20:42 | vstinner | set | status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved |
2019-03-11 13🔞54 | miss-islington | set | nosy: + miss-islingtonmessages: + |
2019-03-11 12:59:46 | vstinner | set | messages: + |
2019-03-11 12:58:18 | miss-islington | set | pull_requests: + <pull%5Frequest12255> |
2019-03-11 12:57:57 | vstinner | set | messages: + |
2019-03-08 11:58:18 | vstinner | set | pull_requests: + <pull%5Frequest12222> |
2019-03-08 10:28:15 | vstinner | set | stage: patch reviewpull_requests: + <pull%5Frequest12221> |
2019-03-08 10:14:52 | vstinner | set | messages: + |
2019-03-08 10:12:51 | vstinner | set | files: + 00157-uid-gid-overflows.patchkeywords: + patch |
2019-03-08 10:12:26 | vstinner | create |