[advapi32/tests] Don't crash tests for NT4

Paul Vriens paul.vriens.wine at gmail.com
Thu Feb 14 02:27:50 CST 2008


(Deliberately sent here and not to wine-patches).

Hopefully someone can shed some light on this.

I need this patch to have the security tests not crash on NT4. The part about
the missing function is obvious.

What is not so obvious though is that when I leave the LocalFree(NewAcl) in, the
test crash. If I only do the LocalFree on success (as stated btw on MSDN for
this function) this test doesn't crash.
AFAIK LocalFree deals with passed NULL pointers so there must be something else
going on.

   Don't crash tests for NT4



-------------- next part --------------
A non-text attachment was scrubbed...
Name: advapi32_tests_security.c.diff
Type: text/x-patch
Size: 3845 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080214/e17591c8/attachment-0001.bin 

More information about the wine-devel mailing list