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

Issue 1589001: memio_SetPeerName implicitly assumes that struct sockaddr is the same as... (Closed)

Created:
10 years, 8 months ago by Peter Valchev
Modified:
9 years, 7 months ago
Reviewers:
agl, wtc, Evan Martin
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

memio_SetPeerName implicitly assumes that struct sockaddr is the same as PRNetAddr, but this isn't true on *BSD patch from sprewell@jaggeri.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43179

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -14 lines) Patch
M net/base/nss_memio.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M net/base/nss_memio.c View 1 2 3 1 chunk +3 lines, -9 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 1 chunk +15 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Peter Valchev
10 years, 8 months ago (2010-03-30 04:30:14 UTC) #1
Evan Martin
+the other nss man LGTM
10 years, 8 months ago (2010-03-30 13:49:00 UTC) #2
agl
LGTM http://codereview.chromium.org/1589001/diff/6001/7001 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/1589001/diff/6001/7001#newcode327 net/socket/ssl_client_socket_nss.cc:327: sockaddr_in* sockaccess = (struct sockaddr_in *) ai->ai_addr; reinterpret_cast<> ...
10 years, 8 months ago (2010-03-30 14:04:13 UTC) #3
Peter Valchev
Thanks for the quick review guys! http://codereview.chromium.org/1589001/diff/6001/7001 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/1589001/diff/6001/7001#newcode327 net/socket/ssl_client_socket_nss.cc:327: sockaddr_in* sockaccess = ...
10 years, 8 months ago (2010-03-30 21:21:26 UTC) #4
wtc
Pawel worked on this issue before. Please do not check this in until I've taken ...
10 years, 8 months ago (2010-03-30 22:31:16 UTC) #5
wtc
I like the approach of the contributed patch. The problem is that the code that ...
10 years, 8 months ago (2010-03-30 23:04:40 UTC) #6
Peter Valchev
Great, this is much cleaner. I made the changes & uploaded them (had to add ...
10 years, 8 months ago (2010-03-30 23:48:03 UTC) #7
wtc
10 years, 8 months ago (2010-03-30 23:54:17 UTC) #8
LGTM.  Thanks!

Powered by Google App Engine
This is Rietveld 408576698