Commit 7343f35f authored by Tristan Matthews's avatar Tristan Matthews

* #38518: sip: check that transaction instance exists

parent 20e2f569
......@@ -264,7 +264,10 @@ pj_bool_t transaction_request_cb(pjsip_rx_data *rdata)
}
}
pjsip_endpt_respond_stateless(endpt_, rdata, PJSIP_SC_OK, NULL, NULL, NULL);
if (pjsip_rdata_get_tsx(rdata))
pjsip_endpt_respond_stateless(endpt_, rdata, PJSIP_SC_OK, NULL, NULL, NULL);
else
ERROR("No transaction instance");
return PJ_FALSE;
} else if (method->id == PJSIP_OPTIONS_METHOD) {
handleIncomingOptions(rdata);
......
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