fixed a potential stack corruption

This commit is contained in:
Sergey Alirzaev 2015-10-03 16:07:20 +03:00
parent 3f17da1742
commit 5930ecef45
No known key found for this signature in database
GPG Key ID: BFE25C0213A60D42

View File

@ -42,7 +42,7 @@ unsigned int i,j;
char ch;
for (i=0;i<len;i+=16) {
printf("%08x: ",(unsigned long)(base+i));
printf("%08lx: ",(unsigned long)(base+i));
for (j=0;j<16;j++){
if ((i+j) < len) printf("%02x ",buffer[i+j]&0xff);
else printf(" ");