Module: wine Branch: master Commit: 198917ee1e1a91bdc636c9f230d17826332f572c URL: https://gitlab.winehq.org/wine/wine/-/commit/198917ee1e1a91bdc636c9f230d1782...
Author: Tim Clem tclem@codeweavers.com Date: Wed Aug 2 08:28:35 2023 -0700
wow64: Correct a reversed strcpy in wow64_NtQuerySystemInformation(SystemModuleInformation).
---
dlls/wow64/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wow64/system.c b/dlls/wow64/system.c index 21e191b8a29..ba19ef5314d 100644 --- a/dlls/wow64/system.c +++ b/dlls/wow64/system.c @@ -393,7 +393,7 @@ NTSTATUS WINAPI wow64_NtQuerySystemInformation( UINT *args ) info32->Modules[i].InitOrderIndex = info->Modules[i].InitOrderIndex; info32->Modules[i].LoadCount = info->Modules[i].LoadCount; info32->Modules[i].NameOffset = info->Modules[i].NameOffset; - strcpy( (char *)info->Modules[i].Name, (char *)info32->Modules[i].Name ); + strcpy( (char *)info32->Modules[i].Name, (char *)info->Modules[i].Name ); } } }