[PATCH 3/3] server: Check object's security when creating handles.

Vitaliy Margolen wine-patches at kievinfo.com
Mon Feb 19 23:53:46 CST 2007


Combined few previous patches into one. There were questions about why
do I need this magic in duplicate handle - here is the answer. After
checking object's SD against token we fail some tests.
What it seems to me is that some one tried to "optimize" this part in
windows and instead created a security problem.

Change Log:
  - Check object's security when creating handles.
  - Fix duplicating a handle.
---
 dlls/advapi32/tests/security.c |    3 ---
 server/handle.c                |   32 ++++++++++++++++++++++----------
 server/security.h              |    1 +
 server/token.c                 |   26 ++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 13 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b59f392d54ea7004ce2fdaae68db2ae74e755a54.diff
Type: text/x-patch
Size: 5068 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070219/9d2dac8a/b59f392d54ea7004ce2fdaae68db2ae74e755a54.bin


More information about the wine-patches mailing list