Skip to content
Snippets Groups Projects
Commit 7022d8e9 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bug in memory searcher fixed (I hope)

Rev: src/memory.c:1.6
parent 2e878415
No related branches found
No related tags found
No related merge requests found
......@@ -289,10 +289,10 @@ char *memory_search(struct mem_searcher *s,
char *q, *end;
register struct link *ptr;
end=haystack+haystacklen+1;
end=haystack+haystacklen;
q=haystack + s->max - sizeof(INT32);
q=(char *)( ((long)q) & -sizeof(INT32));
for(;q<end-sizeof(INT32)+1;q+=s->max)
for(;q<=end-sizeof(INT32);q+=s->max)
{
h=tmp=*(INT32 *)q;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment