Update signature.cpp

fixed a bug
This commit is contained in:
TyUser 2015-11-01 00:44:54 +05:00
parent 09b981e568
commit ffa0378610

View File

@ -46,7 +46,7 @@ void *find_signature(const char* mask, struct base_addr_t *base_addr, int pure)
char *pEndPtr = pBasePtr+base_addr->len-(int)mask[SIGN_LEN_BYTE]; char *pEndPtr = pBasePtr+base_addr->len-(int)mask[SIGN_LEN_BYTE];
int i; int i;
char* tmp; char* tmp;
if(base_addr == NULL) if(base_addr.addr == NULL)
return NULL; return NULL;
#ifndef WIN32 #ifndef WIN32