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
kernel: ksud, sucompat: micro-opt, drop redundant memset before strncpy
its not like were doing
memset(dest, 0, sizeof(dest));
strncat(dest, var, bytes);
for that copy.
that memset seems unneeded
we also use strncpy itself to do proper error and oob check
and we null term when successful
Signed-off-by: backslashxx <[email protected]>
0 commit comments