mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
![]() TOKEN_SOURCE::SourceString is an 8 char non-null-terminated string. Copy it as such. Fixes GCC 8 warning: dll/win32/msgina/lsa.c:195:5: error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation] strncpy(TokenSource.SourceName, "User32 ", sizeof(TokenSource.SourceName)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
lang | ||
resources | ||
CMakeLists.txt | ||
dimmedwindow.cpp | ||
gui.c | ||
lsa.c | ||
msgina.c | ||
msgina.h | ||
msgina.rc | ||
msgina.spec | ||
resource.h | ||
shutdown.c | ||
stubs.c | ||
tui.c |