[OpenSIPS-Devel] SF.net SVN: opensips:[4939] branches/1.4/modules/maxfwd/mf_funcs.c

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Nov 10 18:08:38 CET 2008


Revision: 4939
          http://opensips.svn.sourceforge.net/opensips/?rev=4939&view=rev
Author:   bogdan_iancu
Date:     2008-11-10 17:08:37 +0000 (Mon, 10 Nov 2008)

Log Message:
-----------
backport from trunk (rev #4908, #4938):

- fixed bug in decrementing the max_forward value: The issue occurs when calling 'mf_process_maxfwd_header' or 'is_maxfwd_lt' script functions more than once within a single script execution The second occurrence always returns as if the max forward header value has reached zero due to an issue with the temporary value (max forwards count) stored by the module being overwritten with zero during an int to string conversion
- fixed internal link corruption when 'mf_process_maxfwd_header' is used more than once in the script.

Closes bug 2223501.

Credits to:
Peter Baer (pbaer at galaxytelecom dot net)
Tavis Paquette (tavis at galaxytelecom dot net)

Revision Links:
--------------
    http://opensips.svn.sourceforge.net/opensips/?rev=4908&view=rev

Modified Paths:
--------------
    branches/1.4/modules/maxfwd/mf_funcs.c


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



More information about the Devel mailing list