aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/manager.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-06-25 08:07:58 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-06-25 09:04:50 +0000
commit04bd2a300f55d565ac5bfaa670c9902d2881fa4b (patch)
treeb59f4ad35d0a41bcab3c51f26f9a7be3b101d5c1 /syz-manager/manager.go
parent334b7c2855d1d62b1eda7dfac4f5a3c6df0bac11 (diff)
syz-manager: tolerate empty titles from dashboard repros
pkg/repro is sensitive to the bug title, so let's substitute one if it's not present.
Diffstat (limited to 'syz-manager/manager.go')
-rw-r--r--syz-manager/manager.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/syz-manager/manager.go b/syz-manager/manager.go
index fe5af4d12..7a993287b 100644
--- a/syz-manager/manager.go
+++ b/syz-manager/manager.go
@@ -1791,10 +1791,14 @@ func (mgr *Manager) dashboardReproTasks() {
continue
}
if len(resp.CrashLog) > 0 {
+ title := resp.Title
+ if title == "" {
+ title = "repro from the dashboard"
+ }
mgr.externalReproQueue <- &Crash{
fromDashboard: true,
Report: &report.Report{
- Title: resp.Title,
+ Title: title,
Output: resp.CrashLog,
},
}