Re: fix stack corruption and LastError results in shlwapi PathCombine
24 Jun
2014
24 Jun
'14
1: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?
4186
Age (days ago)
4186
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vincent Povirk