Message91576
The error occurs in Py_Main(), on _PyUnicode_AsString(commandObj). The
problem is that _PyUnicode_AsString() is not checked for error. Here is
a patch fixing two errors:
- display on error message instead of a crash on
_PyUnicode_AsString(commandObj) failure
- don't call Py_DECREF(commandObj) if commandObj is NULL
(PyUnicode_FromWideChar error, a different error)
My patch also includes a test. The test should be moved somewhere else,
but I don't know where. |
|
Date |
User |
Action |
Args |
2009-08-14 22:39:33 | vstinner | set | recipients:
+ vstinner, Arfrever |
2009-08-14 22:39:33 | vstinner | set | messageid: <1250289573.42.0.683709136047.issue6697@psf.upfronthosting.co.za> |
2009-08-14 22:39:32 | vstinner | link | issue6697 messages |
2009-08-14 22:39:31 | vstinner | create | |
|