| Graham Dumpleton (JIRA) 2007-05-01, 7:12 am |
|
[ https://issues.apache.org/jira/brow...ge=3Dcom.atlas=
sian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Graham Dumpleton closed MODPYTHON-185.
--------------------------------------
> _psp.parsestring doesn't check for empty values
> -----------------------------------------------
>
> Key: MODPYTHON-185
> URL: https://issues.apache.org/jira/browse/MODPYTHON-185
> Project: mod_python
> Issue Type: Bug
> Components: psp
> Environment: All
> Reporter: Thomas Herv=C3=A9
> Assigned To: Jim Gallacher
> Priority: Minor
> Fix For: 3.3
>
> Attachments: _pspmodule.diff
>
>
> The function _psp_module_parsestring of _pspmodule.c doesn't check the va=
lue of parser->pycode.blob when calling PyString_FromString (whereas it's d=
one 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.
--=20
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|