Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am attaching a patch that fixes several instances of unchecked _PyUnicode_AsString() result. Not all fixes are completely trivial, so I would appreciate a review. I did not attempt to fix Modules/_gestalt.c because I would like to hear from Ronald first. (See my previous comment.) The patch doe not have the unit tests yet, but I reported some test cases above and these should be easy to convert to unit tests. ---------- assignee: ronaldoussoren -> belopolsky keywords: +needs review stage: needs patch -> patch review Added file: http://bugs.python.org/file19958/issue6697.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com