You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a problem, but may be better change unsigned char block[64] to unsigned char *block
In function 'HV_MD5Update',
inlined from 'HV_MD5Final' at libhv/util/md5.c:86:5:
libhv/util/md5.c:69:13: warning: 'HV_MD5Transform' accessing 64 bytes in a region of size 8 [-Wstringop-overflow=]
69 | HV_MD5Transform(ctx->state,&input[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libhv/util/md5.c:69:13: note: referencing argument 2 of type 'unsigned char[64]'
libhv/util/md5.c: In function 'HV_MD5Final':
libhv/util/md5.c:111:6: note: in a call to function 'HV_MD5Transform'
111 | void HV_MD5Transform(unsigned int state[4],unsigned char block[64]) {
| ^~~~~~~~~~~~~~~
[ 95%] Building C object third_party/libhv/CMakeFiles/hv_static.dir/util/sha1.c.o
In function 'HV_SHA1Update',
inlined from 'HV_SHA1Final' at libhv/util/sha1.c:260:5:
libhv/util/sha1.c:214:13: warning: 'HV_SHA1Transform' reading 64 bytes from a region of size 0 [-Wstringop-overread]
214 | HV_SHA1Transform(context->state, &data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libhv/util/sha1.c:214:13: note: referencing argument 2 of type 'const unsigned char[64]'
libhv/util/sha1.c: In function 'HV_SHA1Final':
libhv/util/sha1.c:49:6: note: in a call to function 'HV_SHA1Transform'
49 | void HV_SHA1Transform(
| ^~~~~~~~~~~~~~~~
In function 'HV_SHA1Update',
inlined from 'HV_SHA1Final' at libhv/util/sha1.c:264:9:
libhv/util/sha1.c:214:13: warning: 'HV_SHA1Transform' reading 64 bytes from a region of size 0 [-Wstringop-overread]
214 | HV_SHA1Transform(context->state, &data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libhv/util/sha1.c:214:13: note: referencing argument 2 of type 'const unsigned char[64]'
libhv/util/sha1.c: In function 'HV_SHA1Final':
libhv/util/sha1.c:49:6: note: in a call to function 'HV_SHA1Transform'
49 | void HV_SHA1Transform(
| ^~~~~~~~~~~~~~~~
Not a problem, but may be better change
unsigned char block[64]
tounsigned char *block
The text was updated successfully, but these errors were encountered: