mirror of https://github.com/sipwise/kamailio.git
- memory pointer check before usage added Change-Id: Ifa8a06bc3122bcb74be941d7ff4742d21c7498b0changes/10/22910/3
parent
47b4b394f5
commit
847fcd09a2
@ -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…
Reference in new issue