Message91576
| Author |
vstinner |
| Recipients |
Arfrever, vstinner |
| Date |
2009年08月14日.22:39:31 |
| SpamBayes Score |
1.0368544e-08 |
| Marked as misclassified |
No |
| Message-id |
<1250289573.42.0.683709136047.issue6697@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|