[sr-dev] SF.net SVN: openser:[6023] branches/1.5/modules/pv/pv_trans.c

Marius Zbihlei marius.zbihlei at 1and1.ro
Fri Jul 23 14:29:22 CEST 2010


Revision: 6023
          http://openser.svn.sourceforge.net/openser/?rev=6023&view=rev
Author:   mariuszbihlei
Date:     2010-07-23 12:29:22 +0000 (Fri, 23 Jul 2010)

Log Message:
-----------
Fixed a bug in pv transformation (tobody transformation), that caused a segmentation fault.

The bug was caused by a incorrect error handling of the parse_to() method (defined in parser/parse_to.c).
The function returns a char* (pointer to the last character parsed), in case of error it updates an error status.
On incorrect to params, a segmentation fault happened after some time.(backported from sip-router commit 
 e7096bf24310b71623520a3b963ddc50c111827c)

Modified Paths:
--------------
    branches/1.5/modules/pv/pv_trans.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the sr-dev mailing list