Commit 05b29683 authored by Pekka Pessi's avatar Pekka Pessi

Added null pointer check to auc_authorize() in iptsec/auth_client.c.

Patch proposed by Colin Whittaker <>.

parent 9feba732
......@@ -745,7 +745,10 @@ msg_header_t *auc_digest_authorization(auth_client_t *ca,
int auc_authorize(auth_client_t **auc_list, msg_t *msg, sip_t *sip)
sip_request_t *rq = sip->sip_request;
sip_request_t *rq = sip ? sip->sip_request : NULL;
if (!rq)
return 0;
return auc_authorization(auc_list, msg, (msg_pub_t *)sip,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment