bpo-31746: Fixed Segfaults in the sqlite module when uninitialized.#3946
bpo-31746: Fixed Segfaults in the sqlite module when uninitialized.#3946lielfr wants to merge 9 commits into
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
Sorry, something went wrong.
|
Oh, i was in the middle of writing my patch, but i guess you beat me to it :) Anyway, IMHO we should add tests to verify that the crashes we know about don't happen anymore. (i am not sure, but Also, i think that setting BTW, i applied your patch, and calling |
Sorry, something went wrong.
|
@lielfr, please fix the merge conflicts and, if you've addressed all the review comments, please mark them with the 'Resolve conversation' button. Thanks! |
Sorry, something went wrong.
Sorry, something went wrong.
|
@lielfr - thank you for pointing those out. They were different issues on the bug tracker, so I didn't think the fix to one fixed the other (one was for cursors and one was for connections). Anyway, that would be great if you could take a look to see if this connection issue still happens and to fix those test issues you mentioned. Thank you for working on this! :-) |
Sorry, something went wrong.
|
Hi @csabella, It seems that this pr doesn't receive any attention from the maintainers. Should it just be left like that, or would you recommend reaching out to someone? Thanks again |
Sorry, something went wrong.
erlend-aasland
left a comment
There was a problem hiding this comment.
Please fix the PEP 7 issues. Also, the tests are now missing. Could you rebase onto master and add them again?
Sorry, something went wrong.
|
Sorry for the delay. Will fix this now. |
Sorry, something went wrong.
Great, there's no hurry :) Thank you! |
Sorry, something went wrong.
… made closing an uninitialized connection throw a ProgrammingError instead of segfaulting
|
Should be done. I'll be happy to fix other issues if there are any. |
Sorry, something went wrong.
|
Closing, since #27431 is now merged. Thank you for your PR, and interest in improving CPython! |
Sorry, something went wrong.
https://bugs.python.org/issue31746