Fix a bug where a faulty DBC file could crash the DBC editor
This commit is contained in:
@@ -375,6 +375,7 @@ void DBCSignalEditor::fillSignalForm(DBC_SIGNAL *sig)
|
||||
size--;
|
||||
if ((startBit % 8) == 0) startBit += 15;
|
||||
else startBit--;
|
||||
if (startBit > 63) startBit = 63;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user