This commit is contained in:
jl777
2017-10-09 18:10:08 +03:00
parent 19d98d6fbf
commit 00603efa67
3 changed files with 8 additions and 16 deletions

View File

@@ -106,7 +106,9 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value)
key = &opretbuf[13];
if ( keylen+13 > opretlen )
{
printf("komodo_kvupdate: keylen.%d + 13 > opretlen.%d\n",keylen,opretlen);
static uint32_t counter;
if ( counter++ < 3 )
printf("komodo_kvupdate: keylen.%d + 13 > opretlen.%d, this can be ignored\n",keylen,opretlen);
return;
}
valueptr = &key[keylen];