This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yilei
Recipients gregory.p.smith, yilei
Date 2022-03-02.00:48:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646182124.68.0.0216044317389.issue46899@roundup.psfhosted.org>
In-reply-to
Content
The uid & gid variable from https://github.com/python/cpython/blob/9833bb91e4d5c2606421d9ec2085f5c2dfb6f72c/Modules/_posixsubprocess.c#L737-L738 can be passed to the `do_fork_exec` call below uninitialized and cause msan to report use-of-uninitialized-value errors.

Those variables are guarded by call_setgid/call_setuid so they aren't really used uninitialized in practice. It would just be great if we can make it msan clean.

Ideally, the long list of do_fork_exec arguments could also be rewritten in a struct.
History
Date User Action Args
2022-03-02 00:48:44yileisetrecipients: + yilei, gregory.p.smith
2022-03-02 00:48:44yileisetmessageid: <1646182124.68.0.0216044317389.issue46899@roundup.psfhosted.org>
2022-03-02 00:48:44yileilinkissue46899 messages
2022-03-02 00:48:44yileicreate