shell32: Fix character count passed into lstrcpnA in SHGetDataFromIDListA.
fgouget at free.fr
Fri Feb 15 09:12:16 CST 2008
- 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-devel