Status: Untriaged
Owner: a...@chromium.org
CC: bre...@chromium.org,  a...@chromium.org
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium

New issue 9846 by a...@chromium.org: BrowserRenderProcessHost can leak  
RenderSecurityPolicy::SecurityState instances
http://code.google.com/p/chromium/issues/detail?id=9846

Discovered while building an InProcessBrowserTest (not checked in at this
time, see http://codereview.chromium.org/60112).

We navigate to a file URL and BrowserRenderProcessHost calls
RenderSecurityPolicy::Add(), which allocates a SecurityState instance.

This is supposed to get cleared by RenderSecurityPolicy::Remove() which is
called in ~BrowserRenderProcessHost(), but that doesn't get called because
the pid_ member of BrowserRenderProcessHost (inherited through
RenderProcessHost) gets cleared earlier RenderProcessHost::Release().

Not sure yet what the best solution is. brettw, agl, blame says you have
touched BrowserRenderProcessHost a lot, so I have cc'd you to solicit
suggestions for a fix.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to