Message80013
> I understand this code as: sizeof(wchar_t) == sizeof(Py_UNICODE). If I
> misunderstood the code, it's a a heap overflow :-)
Yep, sorry. You're right.
>> A test would be good, too.
>
>PyUnicode_FromWideChar() is not a public API. Should I write a function
>in _testcapi?
I was actually thinking of a test for the "No such file or directory"
bug that's mentioned at the start of the discussion. |
|
Date |
User |
Action |
Args |
2009-01-17 13:18:36 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, vstinner, rpetrov |
2009-01-17 13:18:36 | mark.dickinson | set | messageid: <1232198316.49.0.939076812541.issue4474@psf.upfronthosting.co.za> |
2009-01-17 13:18:35 | mark.dickinson | link | issue4474 messages |
2009-01-17 13:18:35 | mark.dickinson | create | |
|