Skip to content

Commit

Permalink
Fix overflow direction test
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Aug 29, 2024
1 parent 54fc5fa commit e3da600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbtoken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Dbtoken::read_eclasses(const char *in_path)
found_minus_read = -len;

// 2. Adjust state based on overlap direction
if (found_minus_read < 0) {
if (len > ec->get_len()) {
state = s_read_ov;
ti = twin(ti);
goto state_process;
Expand Down

0 comments on commit e3da600

Please sign in to comment.