Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 6308036998070272: Release DACL after the named pipe was created (Closed)

Created:
July 1, 2014, 4:51 p.m. by Oleksandr
Modified:
July 2, 2014, 9:18 a.m.
Reviewers:
Felix Dahlke, Eric
Visibility:
Public.

Description

Release DACL after the named pipe was created

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M src/shared/Communication.cpp View 5 chunks +25 lines, -5 lines 0 comments Download

Messages

Total messages: 4
Oleksandr
This isn't pretty, but it's highly specialized case, and I don't really think we should ...
July 1, 2014, 4:52 p.m. (2014-07-01 16:52:35 UTC) #1
Felix Dahlke
On 2014/07/01 16:52:35, Oleksandr wrote: > This isn't pretty, but it's highly specialized case, and ...
July 1, 2014, 8:38 p.m. (2014-07-01 20:38:58 UTC) #2
Oleksandr
Yes, named pipe creation fails quite often without this. It would say that ACL in ...
July 1, 2014, 10:06 p.m. (2014-07-01 22:06:23 UTC) #3
Oleksandr
July 1, 2014, 10:08 p.m. (2014-07-01 22:08:17 UTC) #4
As for the specific issue, I've caught this while investigating this
https://issues.adblockplus.org/ticket/579. It doesn't fix that issue though. 

On 2014/07/01 22:06:23, Oleksandr wrote:
> Yes, named pipe creation fails quite often without this. It would say that ACL
> in incorrect. Which is understandable, since we were releasing it before
> actually using it. The fact that that memory was not usually overwritten yet
by
> that time was purely luck.
> 
>  
> On 2014/07/01 20:38:58, Felix H. Dahlke wrote:
> > On 2014/07/01 16:52:35, Oleksandr wrote:
> > > This isn't pretty, but it's highly specialized case, and I don't really
> think
> > we
> > > should come up with anything fancier (like dedicated class for our own
> > > SECURITY_DESCRIPTOR)
> > 
> > Does this fix any particular issue?

Powered by Google App Engine
This is Rietveld