消息 [91576]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-08-14 22:39:33 | vstinner | 修改 | recipients:
+ vstinner, Arfrever |
| 2009-08-14 22:39:33 | vstinner | 修改 | messageid: <1250289573.42.0.683709136047.issue6697@psf.upfronthosting.co.za> |
| 2009-08-14 22:39:32 | vstinner | 链接 | issue6697 messages |
| 2009-08-14 22:39:31 | vstinner | 创建 | |
|