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 hynek
Recipients Arfrever, alex, amaury.forgeotdarc, hynek, loewis, pitrou, r.david.murray, terry.reedy, vstinner
Date 2012-05-17.18:28:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337279316.83.0.539192144073.issue13849@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-05-17 18:28:36hyneksetrecipients: + hynek, loewis, terry.reedy, amaury.forgeotdarc, pitrou, vstinner, Arfrever, alex, r.david.murray
2012-05-17 18:28:36hyneksetmessageid: <1337279316.83.0.539192144073.issue13849@psf.upfronthosting.co.za>
2012-05-17 18:28:36hyneklinkissue13849 messages
2012-05-17 18:28:36hynekcreate