New issue
Advanced search Search tips

Issue 884027 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

GlobalDescriptors::Get/MaybeGet are error-prone

Project Member Reported by jmgao@google.com, Sep 13

Issue description

GlobalDescriptors::Get/MaybeGet seem generally dangerous. I did a quick codesearch, and there's quite a few places where ownership of the FDs is taken without GlobalDescriptors knowing (sometimes by multiple owners, e.g. https://cs.chromium.org/chromium/src/chromecast/app/cast_main_delegate.cc?q=%22base::File(%22&sq=package:chromium&l=200&dr=C)
 

Sign in to add a comment