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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Bogdan-Andrei Iancu
Revision: 4939
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:

Modified Paths:

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

Devel mailing list
[hidden email]