[resend 2] [try4] advapi32: Implement CredReadDomainCredentials stub and tests
Alexandre Julliard
julliard at winehq.org
Mon Nov 3 04:15:14 CST 2008
Andrey Turkin <andrey.turkin at gmail.com> writes:
> + if (TargetInformation->TargetName)
> + {
> + TargetInformationW->TargetName = buffer;
> + buffer += MultiByteToWideChar(CP_ACP, 0, TargetInformation->TargetName, -1,
> + TargetInformationW->TargetName, -1);
You need to pass the correct destination length, not -1.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list