[msi/tests] Prevent crash when ConvertSidToStringSidA is not available

Paul Vriens paul.vriens.wine at gmail.com
Wed May 27 04:13:50 CDT 2009


Hi,

Previous logic didn't quite work as pConvertSidToStringSidA would have
been unconditionally called on the second invocation of get_user_sid().
This means that these tests would crash on NT4 and below.

I also got rid of the trace when a function is not exported. We are
testing and reporting them already with a win_skip().

Changelog
   Prevent crash when ConvertSidToStringSidA is not available

-- 
Cheers,

Paul.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Prevent-crash-when-ConvertSidToStringSidA-is-not-ava.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090527/6eff30eb/attachment.txt>


More information about the wine-patches mailing list