MBIM: do not access to hash map when it is not initialized yet
Change-Id: I560941115316ead5a85b9e0b55be693217fddff2 Reviewed-on: https://code.wireshark.org/review/1940 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
9389d789a4
commit
c5de173edc
|
@ -1759,7 +1759,7 @@ mbim_dissect_service_id_uuid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
|
|||
}
|
||||
}
|
||||
|
||||
if ((i == array_length(mbim_uuid_service_id_vals)) && uuid_ext_info) {
|
||||
if ((i == array_length(mbim_uuid_service_id_vals)) && mbim_uuid_ext_hash && uuid_ext_info) {
|
||||
/* Let's check if UUID is known in extension table */
|
||||
uuid_ext[0] = tvb_get_ntohl(tvb, *offset);
|
||||
uuid_ext[1] = tvb_get_ntohl(tvb, *offset + 4);
|
||||
|
|
Loading…
Reference in New Issue