Skip to content

Commit

Permalink
Merge pull request #42 from angea/issue41
Browse files Browse the repository at this point in the history
Guard on j < size
  • Loading branch information
cr-marcstevens committed Jun 22, 2024
2 parents c8bc857 + e317e00 commit adc075c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/md5textcoll/block1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void textcoll_solver_t::completeQ7Q24(const halfstate_t& Q7Q24state)
{
Q7ptr[ vecQ7m10m12m13[i][0] ] = i;
size_t j = i+1;
while (vecQ7m10m12m13[j][0] == vecQ7m10m12m13[i][0])
while (j < vecQ7m10m12m13.size() && vecQ7m10m12m13[j][0] == vecQ7m10m12m13[i][0])
++j;
i = j;
}
Expand Down

0 comments on commit adc075c

Please sign in to comment.