From 2ba71ec506c729632a8ebff1b906593cdbe49012 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 3 Jun 2020 11:20:00 +0200 Subject: pkg/repro: don't enable features missing on the target Manager has already checked what features are present on the target. But if we detected that, say, USB is missing, we still enabled it in the starting csource options. This is wrong, increases configuration minimization time and may lead to some obscure bugs. --- tools/syz-repro/repro.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syz-repro/repro.go b/tools/syz-repro/repro.go index 35d3fec20..be8539f36 100644 --- a/tools/syz-repro/repro.go +++ b/tools/syz-repro/repro.go @@ -64,7 +64,7 @@ func main() { } osutil.HandleInterrupts(vm.Shutdown) - res, stats, err := repro.Run(data, cfg, reporter, vmPool, vmIndexes) + res, stats, err := repro.Run(data, cfg, nil, reporter, vmPool, vmIndexes) if err != nil { log.Logf(0, "reproduction failed: %v", err) } -- cgit mrf-deployment