aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_bsd.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-04-02 04:20:56 -0700
committerAleksandr Nogikh <nogikh@google.com>2025-04-02 14:41:32 +0000
commitb0cc4801a294a67648c4f2b8232e3e1212c0fe43 (patch)
tree7e3dc2d3af53111ad30cae669239230b1a5bb956 /executor/executor_bsd.h
parent8079433f581666f7c03c02f05ba46bfe2b3a8a0a (diff)
syz-manager: fix panic in debug mode
When running in debug mode, mgr.vmPool.Count()-mgr.cfg.FuzzingVMs can become negative even for a valid config since we reduce number of VMs to 1. NewReproLoop panics when VM count argument is negative since it passes it to make chan. Cap number of repro VMs at 0.
Diffstat (limited to 'executor/executor_bsd.h')
0 files changed, 0 insertions, 0 deletions