From c69659e3523cba959b06e05d4a5e44e52c31ddd2 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Sat, 9 Feb 2019 17:23:53 +0100 Subject: openbsd: remove shorten report logic (#986) A line length of 79 in the ddb output does not necessarily imply that the following line is a continuation of the current line. Since there's no way to distinguish between ordinary and continuation lines, it could end up corrupting the report by joining two lines that are disjoint[1]. Instead, disable line wrapping in ddb. If we want some kind of wrapping in the future it's easier done by pkg/report. [1] https://syzkaller.appspot.com/bug?extid=03f7377a9848d7d008c9 --- vm/vmimpl/openbsd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm/vmimpl') diff --git a/vm/vmimpl/openbsd.go b/vm/vmimpl/openbsd.go index c758bd5e4..5e5ce3d3f 100644 --- a/vm/vmimpl/openbsd.go +++ b/vm/vmimpl/openbsd.go @@ -15,7 +15,8 @@ import ( func DiagnoseOpenBSD(w io.Writer) bool { commands := []string{ "", - "set $lines = 0", // disable pagination + "set $lines = 0", // disable pagination + "set $maxwidth = 0", // disable line continuation "show panic", "trace", "show registers", -- cgit mrf-deployment