Hao Hao has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6932

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: I99d308a48450a25a103afef08b6dcdc557c61f08
---
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/32/6932/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6932
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I99d308a48450a25a103afef08b6dcdc557c61f08
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Hao Hao <[email protected]>

Reply via email to