forked from osmocom/wireshark
SDP in 183 session progress is also SDP_EXCHANGE_ANSWER_ACCEPT.
Without this patch I get a crash on Linux and lots of STATUS_ACCESS_VIOLATION and a single STATUS_INTEGER_DIVIDE_BY_ZERO on windows. svn path=/trunk/; revision=47639
This commit is contained in:
parent
ed5045605a
commit
c45252a75f
|
@ -3143,7 +3143,7 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
|
|||
setup_sdp_transport(next_tvb, pinfo, SDP_EXCHANGE_OFFER, pinfo->fd->num);
|
||||
} else if (line_type == STATUS_LINE) {
|
||||
setup_sdp_transport(next_tvb, pinfo,
|
||||
((stat_info->response_code == 200)||(stat_info->response_code == 180)) ? SDP_EXCHANGE_ANSWER_ACCEPT : SDP_EXCHANGE_ANSWER_REJECT,
|
||||
((stat_info->response_code == 200)||(stat_info->response_code == 180)||(stat_info->response_code == 183)) ? SDP_EXCHANGE_ANSWER_ACCEPT : SDP_EXCHANGE_ANSWER_REJECT,
|
||||
request_for_response);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue