Hao Hao has uploaded a new change for review. http://gerrit.cloudera.org:8080/6931
Change subject: kudu-2022 Fix nullptr access at GetLocalNetworks. ...................................................................... kudu-2022 Fix nullptr access at GetLocalNetworks. GetLocalNetworks accesses member with nullptr when retrieves local network interfaces, as both ifaddrs.ifa_addr and ifaddrs.ifa_netmask fields can contain null pointer. This patch checks if either of these fields is null before accessing. Change-Id: I0118336672b0533b79d9878f851af3bbc78452b2 --- M src/kudu/util/net/net_util-test.cc M src/kudu/util/net/net_util.cc 2 files changed, 12 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/31/6931/1 -- To view, visit http://gerrit.cloudera.org:8080/6931 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0118336672b0533b79d9878f851af3bbc78452b2 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Hao Hao <[email protected]>
