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.

作者 hynek
收信人 Arfrever, alex, amaury.forgeotdarc, hynek, loewis, pitrou, r.david.murray, terry.reedy, vstinner
日期 2012-05-17.18:28:36
SpamBayes Score -1.0
Marked as misclassified
Message-id <1337279316.83.0.539192144073.issue13849@psf.upfronthosting.co.za>
In-reply-to
内容
> It appears that os.stat did not check for embedded nulls but just passed the string to Windows.

JFTR, we have fixed it for open() because it's a potential security problem. I have implemented a helper function for checking for NUL chars: _PyUnicode_HasNULChars

See the already mentioned #13848.
历史
日期 用户 动作 参数
2012-05-17 18:28:36hynek修改recipients: + hynek, loewis, terry.reedy, amaury.forgeotdarc, pitrou, vstinner, Arfrever, alex, r.david.murray
2012-05-17 18:28:36hynek修改messageid: <1337279316.83.0.539192144073.issue13849@psf.upfronthosting.co.za>
2012-05-17 18:28:36hynek链接issue13849 messages
2012-05-17 18:28:36hynek创建