Skip to content

Commit d88db8b

Browse files
committed
update binary check
1 parent af96b04 commit d88db8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ostrace/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class OsTraceParser {
121121
} else {
122122
// When CRC is disabled, the last byte is reserved but still present in the frame
123123
// Validate by checking if type is in valid range (0-5)
124-
if (type > 5) {
124+
if (type > 6) {
125125
this.callbacks.onError(`Invalid type value: ${type}, Index: ${currentIndex}`)
126126
isValidFrame = false
127127
}

0 commit comments

Comments
 (0)