Garth wrote: > It could be due to a classic UNICODE overflow bug in the file > > http://wix.cvs.sourceforge.net/wix/wix/src/ca/serverca/scaexec/scacertexec.cpp?view=markup > > WCHAR wzFriendlyName[256] = { 0 }; > DWORD cbFriendlyName = sizeof(wzFriendlyName); > > Should read > > WCHAR wzFriendlyName[256] = { 0 }; > DWORD cbFriendlyName = countof(wzFriendlyName); >
CertGetCertificateContextProperty explicitly takes a count of bytes, not characters. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users