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
PyDict_SetItemString() fails when the second argument is null #49877
Comments
PyDict_SetItemString() fails when the second argument (key) is null I don't know what is the best fix but we have two possibilities: (i) check the second argument in PyDict_SetItemString() before calling This bug was reported as a PostgreSQL bug at [1]. [1] http://archives.postgresql.org/pgsql-hackers/2009-03/msg01344.php |
It seems PyDict_DelItemString() and PyDict_SetItem() suffer from the |
I am not sure why you consider this a bug. You should certainly not pass |
I know that it is a good programming practice checking null pointers but |
Raymond, do you have an opinion about this? |
I recommend rejecting this one. The assert is sufficient for |
Closing. |
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: