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

Issue 196353002: ensure that UnixDomainSocket::RecvMsgWithFlags doesn't memcpy from 0 (Closed)

Created:
6 years, 9 months ago by Mostyn Bramley-Moore
Modified:
6 years, 9 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

ensure that UnixDomainSocket::RecvMsgWithFlags doesn't memcpy from 0 If wire_fds is never updated after being initialized to 0, then we should not memcpy from it. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257504

Patch Set 1 #

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

Messages

Total messages: 21 (0 generated)
Mostyn Bramley-Moore
@agl: I spotted this while testing static analyzer utils. I guess we could set errno ...
6 years, 9 months ago (2014-03-11 23:46:54 UTC) #1
agl
This is a false positive and it would be best if the static analyzer could ...
6 years, 9 months ago (2014-03-12 15:01:55 UTC) #2
Mostyn Bramley-Moore
It looks to me as though a malformed msghdr could hit this, but perhaps the ...
6 years, 9 months ago (2014-03-12 15:38:53 UTC) #3
agl
On 2014/03/12 15:38:53, Mostyn Bramley-Moore wrote: > It looks to me as though a malformed ...
6 years, 9 months ago (2014-03-12 15:57:53 UTC) #4
Mostyn Bramley-Moore
On 2014/03/12 15:57:53, agl wrote: > On 2014/03/12 15:38:53, Mostyn Bramley-Moore wrote: > > It ...
6 years, 9 months ago (2014-03-12 16:11:02 UTC) #5
agl
lgtm Eh, whatever. It's not a big deal and it's nice to be static-analysis clean.
6 years, 9 months ago (2014-03-12 17:05:38 UTC) #6
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 9 months ago (2014-03-12 17:37:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/196353002/1
6 years, 9 months ago (2014-03-12 17:41:29 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 18:17:50 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=54977
6 years, 9 months ago (2014-03-12 18:17:51 UTC) #10
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 9 months ago (2014-03-12 22:06:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/196353002/1
6 years, 9 months ago (2014-03-12 22:08:52 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 22:26:18 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=55035
6 years, 9 months ago (2014-03-12 22:26:20 UTC) #14
Mostyn Bramley-Moore
@ajwong: can you OK this?
6 years, 9 months ago (2014-03-12 22:30:13 UTC) #15
Mostyn Bramley-Moore
*ping* @willchan: perhaps you can give this a thumbs-up instead?
6 years, 9 months ago (2014-03-17 09:59:41 UTC) #16
awong
LGTM sorry for slow response...was at offsite most of last week.
6 years, 9 months ago (2014-03-17 18:21:55 UTC) #17
Mostyn Bramley-Moore
> sorry for slow response...was at offsite most of last week. No problem- thanks for ...
6 years, 9 months ago (2014-03-17 19:50:10 UTC) #18
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 9 months ago (2014-03-17 19:50:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/196353002/1
6 years, 9 months ago (2014-03-17 19:50:23 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-17 22:00:42 UTC) #21
Message was sent while issue was closed.
Change committed as 257504

Powered by Google App Engine
This is Rietveld 408576698