diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-04-05 15:15:21 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-04-05 13:59:32 +0000 |
| commit | 02474d9d95115e5355d1648fd07ca18d219715bd (patch) | |
| tree | 82fdd26bd79bb9f7ee2f4f8bd8cbabb222647e8e /executor/common_usb_linux.h | |
| parent | 77230c294a419a97f63f155760d210bed1bc26a8 (diff) | |
pkg/corpus: avoid a race in Corpus.Minimize()
The following two operations were in conflict:
1) Overwriting of corpus.ProgramsList in Minimize().
2) ProgramsList.ChooseProgram() that used its own mutex.
Instead of overwriting the object, let's create a new one.
Diffstat (limited to 'executor/common_usb_linux.h')
0 files changed, 0 insertions, 0 deletions
