Apache Mod-Python - Work started: (MODPYTHON-185) _psp.parsestring doesn't check

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > August 2006 > Work started: (MODPYTHON-185) _psp.parsestring doesn't check





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Work started: (MODPYTHON-185) _psp.parsestring doesn't check
Jim Gallacher (JIRA)

2006-08-15, 1:12 pm

[ http://issues.apache.org/jira/brows...-185?page=3Dall ]

Work on MODPYTHON-185 started by Jim Gallacher.

> _psp.parsestring doesn't check for empty values
> -----------------------------------------------
>
> Key: MODPYTHON-185
> URL: http://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
> 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.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com