forked from osmocom/wireshark
Followup to r39626: It is also necessary to initialize the number of services
to 0 (in case we throw an exception decoding the first service). svn path=/trunk/; revision=39629
This commit is contained in:
parent
c0db24bf4d
commit
8d25051a28
|
@ -3192,6 +3192,7 @@ dissect_cip_multiple_service_packet_req(tvbuff_t *tvb, packet_info *pinfo, proto
|
|||
{
|
||||
mr_mult_req_info = se_alloc(sizeof(mr_mult_req_info_t));
|
||||
mr_mult_req_info->service = SC_MULT_SERV_PACK;
|
||||
mr_mult_req_info->num_services = 0;
|
||||
mr_mult_req_info->requests = se_alloc(sizeof(cip_req_info_t)*num_services);
|
||||
cip_req_info->pData = mr_mult_req_info;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue