mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 00:58:16 +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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
misc | ||
reg | ||
sec | ||
service | ||
token | ||
wine | ||
advapi32.h | ||
advapi32.rc | ||
advapi32.spec | ||
CMakeLists.txt |