forked from osmocom/wireshark
IPv6: Remove null check (CID 1364087)
Change-Id: Ia35a78ccaa4f61fbbbfff304f12d813fdbdd009d Reviewed-on: https://code.wireshark.org/review/16452 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
996dcc038d
commit
7533c72c4b
|
@ -898,7 +898,7 @@ dissect_routing6_mipv6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
|
|||
expert_add_info(pinfo, ti, &ei_ipv6_src_route_list_multicast_addr);
|
||||
}
|
||||
|
||||
if (addr != NULL && rt.ip6r_segleft > 0) {
|
||||
if (rt.ip6r_segleft > 0) {
|
||||
alloc_address_wmem(pinfo->pool, &pinfo->dst, AT_IPv6, IPv6_ADDR_SIZE, addr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue