http://bugs.winehq.org/show_bug.cgi?id=11759
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2008-07-31 15:36:20 ---
You need to add more error checking. CryptMsgOpenToDecode correctly fails due to invalid parameters but SOFTPUB_GetMessageFromFile() returns TRUE which should not happen.
Probably true, but that's a different bug methinks. I've sent an updated patch: http://www.winehq.org/pipermail/wine-patches/2008-July/058956.html The rest are unchanged. Have another go?