[OpenSIPS-Devel] [ opensips-Bugs-3423601 ] hdr(SomeHeader)[$var(i)] fails when $var(i) is 0
SourceForge.net
noreply at sourceforge.net
Tue Oct 18 10:41:12 CEST 2011
Bugs item #3423601, was opened at 2011-10-14 13:59
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3423601&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.7.x
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Walter Doekes (wdoekes)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: hdr(SomeHeader)[$var(i)] fails when $var(i) is 0
Initial Comment:
Hi,
see attached patch. You'll want to remove the comments in the patch, but it shows what/where the problem is.
Regards,
Walter Doekes
OSSO B.V.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-10-18 11:41
Message:
Fix is on SVN, trunk, 1.7 and 1.6
Thanks and regards,
Bogdan
----------------------------------------------------------------------
Comment By: Walter Doekes (wdoekes)
Date: 2011-10-17 15:15
Message:
Works for me.
Haven't seen any adverse side-effects (yet).
Thanks,
Walter
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-10-17 14:58
Message:
OK, indeed there is a bug there - I made a fix (for all cases where the idx
is used) - find attached the patch.
If you could run some more tests on it, it will be great.
Thanks and regards,
Bogdan
----------------------------------------------------------------------
Comment By: Walter Doekes (wdoekes)
Date: 2011-10-14 16:26
Message:
P.S. In kamailio this issue doesn't occur because of the differences in
pv_get_spec_index.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3423601&group_id=232389
More information about the Devel
mailing list