
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Environment:
|
All
|
|
| Resolution Date: |
15/Aug/06 04:20 PM
|
|
The function _psp_module_parsestring of _pspmodule.c doesn't check the value of parser->pycode.blob when calling PyString_FromString (whereas it's done in _psp_module_parse). When called with an empty string it can cause a segfault (blob is NULL and PyString_FromString doesn't check for NULL value).
I attach a simple diff correcting the problem.
|
|
Description
|
The function _psp_module_parsestring of _pspmodule.c doesn't check the value of parser->pycode.blob when calling PyString_FromString (whereas it's done in _psp_module_parse). When called with an empty string it can cause a segfault (blob is NULL and PyString_FromString doesn't check for NULL value).
I attach a simple diff correcting the problem. |
Show » |
| No work has yet been logged on this issue.
|
|