forked from Psiphon-Labs/psiphon-tunnel-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- TestMatcherMultiQueue exited early without reaching most test cases. - Since it took a value receiver instead of a pointer receiver, the guard against multiple calls to announcementQueueReference.dequeue had no effect, leading to potential underflows in the tracked counts. - Empty compartment queues were left in place by dequeue, leading to potentially unbounded memory consumption in the case of high compartment ID churn.
- Loading branch information
Showing
2 changed files
with
84 additions
and
33 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