Project

General

Profile

Actions

Bug #2214

closed

detect state uses broken offset logic

Added by qidu sy about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

in the DeStateDetectStartDetection() function at :
uint8_t offset = det_ctx->de_state_sig_array[s->num] & 0xef

I suspect that this line of code should be:
uint8_t offset = det_ctx->de_state_sig_array[s->num] & 0x7f

Actions

Also available in: Atom PDF