From f26dfb6cc21b121d7317cdfc36ce3bd6d5afbbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Inostroza?= Date: Tue, 30 Apr 2019 00:51:47 -0400 Subject: [PATCH] Fix candump file detection. It generated a segfault when loading a busmaster log file with auto detection. --- framefileio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framefileio.cpp b/framefileio.cpp index aa38478..e6a9d17 100644 --- a/framefileio.cpp +++ b/framefileio.cpp @@ -2887,7 +2887,7 @@ bool FrameFileIO::isCanDumpFile(QString filename) { //(1551774790.942758) can1 7A8 [8] F4 DC D1 83 0E 02 00 00 // 0 1 2 3 4 5 6 7 8 9 10 11 - if (tokens.count() < 3) + if (tokens.count() < 4) { isMatch = false; continue;