Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Issue 7552030: Fix GetNetworkList() for POSIX to cope with address-less interfaces. (Closed)

Created:
9 years, 4 months ago by Wez
Modified:
9 years, 4 months ago
Reviewers:
Sergey Ulanov, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Fix GetNetworkList() for POSIX to cope with address-less interfaces. BUG=92274 TEST=Browser does not crash if Chromoting client is used to connect from a machine with at least one network interface with no IP address. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96261

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix the fix and add a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M net/base/net_util_posix.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Wez
9 years, 4 months ago (2011-08-10 01:29:50 UTC) #1
Sergey Ulanov
LGTM. I think we need this merged in M14. Can you please open a bug ...
9 years, 4 months ago (2011-08-10 01:36:10 UTC) #2
commit-bot: I haz the power
Presubmit check for 7552030-1 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 4 months ago (2011-08-10 17:15:40 UTC) #3
Wez
wtc: Would you mind giving the rubber-stamp, please?
9 years, 4 months ago (2011-08-10 17:18:04 UTC) #4
wtc
LGTM. Please fix the bug and add the comment I requested before checking this in. ...
9 years, 4 months ago (2011-08-10 19:29:02 UTC) #5
wtc
9 years, 4 months ago (2011-08-10 19:32:22 UTC) #6
http://codereview.chromium.org/7552030/diff/1/net/base/net_util_posix.cc
File net/base/net_util_posix.cc (right):

http://codereview.chromium.org/7552030/diff/1/net/base/net_util_posix.cc#newc...
net/base/net_util_posix.cc:80: continue;
I checked the other two getifaddrs calls in net/base/net_util.cc.
They already have this null pointer test.

Powered by Google App Engine
This is Rietveld 408576698