diff options
author | Michael Pratt <mpratt@google.com> | 2018-12-05 14:31:07 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-05 14:31:58 -0800 |
commit | 9f64e64a6ee1fe44a05ed57893785fa9064125e1 (patch) | |
tree | 3e37767de300d950f17d053bcf283b3c39db2543 /tools/go_stateify/defs.bzl | |
parent | 23438b36327524ba3e71b6416d71863fb4dfa166 (diff) |
Enforce directory accessibility before delete Walk
By Walking before checking that the directory is writable and
executable, MayDelete may return the Walk error (e.g., ENOENT) which
would normally be masked by a permission error (EACCES).
PiperOrigin-RevId: 224222453
Change-Id: I108a7f730e6bdaa7f277eaddb776267c00805475
Diffstat (limited to 'tools/go_stateify/defs.bzl')
0 files changed, 0 insertions, 0 deletions