Avoid infinite recursion if cache file modified underneath cache
This generalizes our "does file still exist" check to also check that the file is the expected length. If it's not, we don't trust it. This avoids infinite recursion in CacheDataSource if a cache file is truncated underneath the cache. Issue: #6165 PiperOrigin-RevId: 265707928
Showing
with
6 additions
and
6 deletions
Please
register
or
sign in
to comment