mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +00:00
![]() TOKEN_SOURCE::SourceString is an 8 char non-null-terminated string. Copy it as such. Fixes GCC 8 warning: dll/win32/advapi32/misc/logon.c:638:5: error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation] strncpy(TokenSource.SourceName, "Advapi ", sizeof(TokenSource.SourceName)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
dllmain.c | ||
efs.c | ||
evntrace.c | ||
hwprofiles.c | ||
logon.c | ||
msi.c | ||
shutdown.c | ||
sysfunc.c | ||
unicode.c |