shell32: Fix character count passed into lstrcpnA in SHGetDataFromIDListA.
Francois Gouget
fgouget at free.fr
Fri Feb 15 09:12:16 CST 2008
if (shortname)
- lstrcpynA(pfd->cAlternateFileName, shortname, MAX_PATH);
+ lstrcpynA(pfd->cAlternateFileName, shortname, 14);
sizeof(*pfd->cAlternateFileName) would be better than the magic 14 here.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
You can have my guns when you pry them from my kids cold, dead hands.
More information about the wine-patches
mailing list