Explorar o código

modules/rr: fixed outbound related segmentation fault

Peter Dunkley %!s(int64=12) %!d(string=hai) anos
pai
achega
bce42abfd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/rr/loose.c

+ 1 - 1
modules/rr/loose.c

@@ -510,7 +510,7 @@ static inline int process_outbound(struct sip_msg *_m, str flow_token,
 	if (!rr_obb.decode_flow_token)
 	if (!rr_obb.decode_flow_token)
 		return 0;
 		return 0;
 
 
-	ret = rr_obb.decode_flow_token(_m, rcv, flow_token);
+	ret = rr_obb.decode_flow_token(_m, &rcv, flow_token);
 
 
 	if (ret == -2) {
 	if (ret == -2) {
 		LM_DBG("no flow token found - outbound not in use\n");
 		LM_DBG("no flow token found - outbound not in use\n");