shell32/brsfolder: returned pidl has to be cloned
Michael Stefaniuc
mstefani at redhat.de
Fri May 6 09:07:40 CDT 2005
On Fri, May 06, 2005 at 03:29:06PM +0200, Michael Jung wrote:
> info->pidlRet points directly to a pidl stored in the treeview-item, which
> will be free'd when the dialog is closed. Thus we have to clone the pidl
> before. MSDN says that the caller of SHBrowseForFolder is responsible for
> free'ing the returned pidl.
>
> Changelog:
> Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption
And the patch? ;)
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050506/205881fb/attachment.pgp
More information about the wine-devel
mailing list