TT#42709 [Test carrier] Kamailio Crashed mr6.4.1

- memory pointer check before usage added

Change-Id: Ifa8a06bc3122bcb74be941d7ff4742d21c7498b0
changes/10/22910/3
Roman Romanchenko 8 years ago
parent 47b4b394f5
commit 847fcd09a2

@ -1,5 +1,6 @@
## Package related
sipwise/tt42709.patch
debian/no_lib64_on_64_bits.patch
debian/no_INSTALL_file.patch
debian/fix_export.patch

@ -0,0 +1,10 @@
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -299,6 +299,7 @@ inline static int update_totag_set(struc
for (i=t->fwded_totags; i; i=i->next) {
if (i->tag.len==tag->len
+ && i->tag.s
&& memcmp(i->tag.s, tag->s, tag->len) ==0 ){
/* to tag already recorded */
LM_DBG("to-tag retransmission\n");
Loading…
Cancel
Save