advapi32: ignore invalid MultipleTrusteeOperation values in SetEntriesInAcl

Andrey Turkin andrey.turkin at
Sat Oct 10 08:52:09 CDT 2009

Filter Forge doesn't initialize MultipleTrusteeOperation and
MultipleTrustee fields in TRUSTEE structure so they are filled with junk.
Windows apparently ignores such bogus values - this patch make Wine do
the same (with test).
  dlls/advapi32/security.c       |    2 +-
  dlls/advapi32/tests/security.c |   14 +++++++++++---
  2 files changed, 12 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-advapi32-ignore-invalid-MultipleTrusteeOperation-val.patch
Type: text/x-patch
Size: 2265 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list