We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35ca058 + 3626397 commit c1ca07fCopy full SHA for c1ca07f
vwifi-tool.c
@@ -92,7 +92,7 @@ bool denylist_send(char *denylist)
92
nlh->nlmsg_pid = getpid();
93
nlh->nlmsg_flags = 0;
94
95
- strncpy(NLMSG_DATA(nlh), denylist, NLMSG_SPACE(MAX_PAYLOAD));
+ strncpy(NLMSG_DATA(nlh), denylist, MAX_PAYLOAD);
96
97
struct iovec iov = {
98
.iov_base = (void *) nlh,
0 commit comments