1
0
Fork 0
This commit is contained in:
MrAlaskan 2026-07-20 14:43:15 +00:00 committed by GitHub
commit be4a37d17f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,7 @@ static void findVariable(CO_trace_t *trace) {
/* third sequence: Output type */
dtIndex += ((*trace->format) >> 1) * 6;
if(dtIndex > (sizeof(dataTypes) / sizeof(CO_trace_dataType_t))) {
if(dtIndex >= (sizeof(dataTypes) / sizeof(CO_trace_dataType_t))) {
err = true;
}
}