Hao Hao has uploaded a new patch set (#2).

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.cc
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/31/6931/2
-- 
To view, visit http://gerrit.cloudera.org:8080/6931
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0118336672b0533b79d9878f851af3bbc78452b2
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot

Reply via email to