microsoft / microsoft/copilot-camp
Fix race condition that might result in multiple JWS validator objects
Open
@BobGerman is already working on this.
Since Oct 7, 2024.
- Dominant language
- C#
- Stars
- 664
- Forks
- 175
- Avg merge
- 1m
- Merged PRs (30d)
- 7
Description
In lab E6 there is a race condition in which, if additional HTTP request(s) arrive while the code is awaiting the JWT validator, it will create additional validators. This would not present a security problem but would be inefficient.
Need to cache the promise not the validator object.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.