diff options
author | Adin Scannell <ascannell@google.com> | 2018-10-11 13:22:54 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-11 13:23:59 -0700 |
commit | 96c68b36f67355295339e8039712b28d272e083e (patch) | |
tree | 0247c78f6e4a5a763b58c08198c767a47d453c1b /runsc/console | |
parent | d40d80106988e9302aaa354d4f58caa6c31429b4 (diff) |
Add client sanity checking for P9.
This should reduce use-after-free errors and accidental close via create or
remove. This change includes one functional fix as well: when closing via
remove, the closed field was not set and the finalizer was not freed, so the
file would have been clunked at some random point in the future.
PiperOrigin-RevId: 216750000
Change-Id: Ice3292c6feb953ae97abac308afbafd2d9410402
Diffstat (limited to 'runsc/console')
0 files changed, 0 insertions, 0 deletions