Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
5625e24a9a
  1. 2
      iguana/iguana_ramchain.c

2
iguana/iguana_ramchain.c

@ -633,7 +633,7 @@ void *iguana_ramchain_offset(char *fname,void *dest,uint8_t *lhash,FILE *fp,uint
if ( (lhash != 0 || fp != 0) && (*offsetp + len) > srcsize )
{
printf("ramchain_offset overflow (%p %p) offset.%ld + len.%ld %ld > %ld srcsize\n",fp,lhash,(long)*offsetp,(long)len,(long)(*offsetp + len),(long)srcsize);
return(0);
return(destptr);
}
if ( lhash != 0 )
{

Loading…
Cancel
Save