Branch: Tag:

1997-04-07

1997-04-07 03:27:23 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bug in memory searcher fixed (I hope)

Rev: src/memory.c:1.6

289:    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;