Message160996
| 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. |
|