Re: fix stack corruption and LastError results in shlwapi PathCombine
June 24, 2014
6:32 p.m.
The length of the ANSI string doesn't necessarily match the length of the Unicode string after conversion. We should be checking the return value of MultiByteToWideChar to find out whether the converted string fit. Why aren't the 'strlenW(szTemp) + strlenW(lpszFile)' test and uses of lstrcpynW in PathCombineW sufficient to avoid stack corruption?
4293
Age (days ago)
4293
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk