-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't leak objects out of access policies when used in a computed glo…
…bal (#6926) The caching for our computed globals failed to account for whether access policies are in effect, which could allow leaking of objects that should not have been visible. Fix this by augmenting the cache key. A downside of this fix is that sometimes now we will generate two identical computations of a computed global. This is probably fine for now, since this is an important bug to fix, and 2 is still a lot better than the N that it was without the cache.
- Loading branch information
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters