aboutsummaryrefslogtreecommitdiffstats
path: root/prog/minimization.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/minimization.go')
-rw-r--r--prog/minimization.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/prog/minimization.go b/prog/minimization.go
index 4d943995d..8298ec812 100644
--- a/prog/minimization.go
+++ b/prog/minimization.go
@@ -399,6 +399,9 @@ func (typ *BufferType) minimize(ctx *minimizeArgsCtx, arg Arg, path string) bool
return true
}
case BufferFilename:
+ if ctx.mode == MinimizeCorpus {
+ return false
+ }
// Try to undo target.SpecialFileLenghts mutation
// and reduce file name length.
if !typ.Varlen() {