Message160996
> 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. |
|
| Date |
User |
Action |
Args |
| 2012-05-17 18:28:36 | hynek | set | recipients:
+ hynek, loewis, terry.reedy, amaury.forgeotdarc, pitrou, vstinner, Arfrever, alex, r.david.murray |
| 2012-05-17 18:28:36 | hynek | set | messageid: <1337279316.83.0.539192144073.issue13849@psf.upfronthosting.co.za> |
| 2012-05-17 18:28:36 | hynek | link | issue13849 messages |
| 2012-05-17 18:28:36 | hynek | create | |
|