fix double free in advapi32/crypt.c

Michael Jung mjung at iss.tu-darmstadt.de
Thu Jul 29 15:11:03 CDT 2004


Hi,

this a resubmit of a patch, which I've sent a couple of days ago, but which 
was not applied. It fixes a double call to CRYPT_Free for the temp variable, 
in the case that the CSP's CPAcquireContext function does not complete 
successfully. I've tried to imitate Alexandre's last patch to 
advapi32/crypt.c, which fixes a similar problem.

Changelog:
	Fixes a potential double call to CRYPT_Free on variable "temp".  

-- 
Michael Jung, MSc                               Be liberal in what you accept,
Integrated Circuits and Systems Lab         and conservative in what you send.
University of Technology, Darmstadt       -- Jonathan Postel, Internet Pioneer
phone: +49(6151)16-6692 / email: mjung at iss.tu-darmstadt.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_advapi32_crypt_c.diff
Type: text/x-diff
Size: 1893 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040729/df9fbdf6/dlls_advapi32_crypt_c.bin


More information about the wine-patches mailing list