-
Notifications
You must be signed in to change notification settings - Fork 519
Closed
Description
src/objects.c: In function ‘use_client_socket’:
src/objects.c:1449:17: warning: ‘memcpy’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds]
1449 | memcpy(user->scram_ClientKey, scram_client_key, sizeof(user->scram_ClientKey));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/objects.c:1450:17: warning: ‘memcpy’ offset [0, 31] is out of the bounds [0, 0] [-Warray-bounds]
1450 | memcpy(user->scram_ServerKey, scram_server_key, sizeof(user->scram_ServerKey));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thanks
Metadata
Metadata
Assignees
Labels
No labels