New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch for "string without null bytes" check in getargs.c #46551
Comments
Code in getargs.c:convertsimple incorrectly uses PyUnicode_GetSize To reproduce: __import__('\u0080') Note the lack of null bytes:
>>> '\u0080'.encode('utf-8')
b'\xc2\x80' |
Yes, that sounds like a good idea. Although I haven't reviewed this |
On Mon, Mar 17, 2008 at 9:51 AM, Alexandre Vassalotti <
There is no |
There is now bpo-2322 (Clean up getargs.c and its formatting |
I've added XXX comments to the code, so this is now tracked by bpo-2322. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: