Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Rebase against e08ed6cac218fc09044d06d3cbe2a54f7ec898cf.
Browse files Browse the repository at this point in the history
  • Loading branch information
slackner committed Feb 4, 2017
1 parent e374d7a commit e4754f8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 105 deletions.
@@ -1,4 +1,4 @@
From 616c17cc58a4943d3a367704943e737d5713740d Mon Sep 17 00:00:00 2001
From 77d43d721793edda9b419f7426442a35f0cb5918 Mon Sep 17 00:00:00 2001
From: Qian Hong <qhong@codeweavers.com>
Date: Tue, 7 Apr 2015 11:23:34 +0800
Subject: advapi32: Fallback to Sid string when LookupAccountSid fails.
Expand All @@ -8,7 +8,7 @@ Subject: advapi32: Fallback to Sid string when LookupAccountSid fails.
1 file changed, 31 insertions(+)

diff --git a/dlls/advapi32/lsa.c b/dlls/advapi32/lsa.c
index 258b8ca..93afa20 100644
index 1b270a80829..b8dedbd6d58 100644
--- a/dlls/advapi32/lsa.c
+++ b/dlls/advapi32/lsa.c
@@ -29,6 +29,7 @@
Expand All @@ -19,8 +19,8 @@ index 258b8ca..93afa20 100644
#include "advapi32_misc.h"

#include "wine/debug.h"
@@ -554,6 +555,21 @@ NTSTATUS WINAPI LsaLookupSids(
heap_free(name);
@@ -562,6 +563,21 @@ NTSTATUS WINAPI LsaLookupSids(
domain.MaximumLength = sizeof(WCHAR);
}
}
+ else
Expand All @@ -41,9 +41,9 @@ index 258b8ca..93afa20 100644
}

/* now we have full length needed for both */
@@ -593,6 +609,21 @@ NTSTATUS WINAPI LsaLookupSids(
heap_free(domain.Buffer);
}
@@ -605,6 +621,21 @@ NTSTATUS WINAPI LsaLookupSids(
(*Names)[i].DomainIndex = lsa_reflist_add_domain(*ReferencedDomains, &domain, &domain_data);
heap_free(domain.Buffer);
}
+ else
+ {
Expand All @@ -64,5 +64,5 @@ index 258b8ca..93afa20 100644
name_buffer += name_size;
}
--
2.3.5
2.11.0

This file was deleted.

1 change: 0 additions & 1 deletion patches/msvideo16-HasThunk/definition

This file was deleted.

25 changes: 2 additions & 23 deletions patches/patchinstall.sh
Expand Up @@ -52,7 +52,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "2a28e4d843ec5302f53a3168061fdf2ca30eb076"
echo "e08ed6cac218fc09044d06d3cbe2a54f7ec898cf"
}

# Show version information
Expand Down Expand Up @@ -213,7 +213,6 @@ patch_enable_all ()
enable_msvcr120__SetWinRTOutOfMemoryExceptionCallback="$1"
enable_msvcrt_Math_Precision="$1"
enable_msvfw32_ICGetDisplayFormat="$1"
enable_msvideo16_HasThunk="$1"
enable_ntdll_APC_Performance="$1"
enable_ntdll_APC_Start_Process="$1"
enable_ntdll_Activation_Context="$1"
Expand Down Expand Up @@ -846,9 +845,6 @@ patch_enable ()
msvfw32-ICGetDisplayFormat)
enable_msvfw32_ICGetDisplayFormat="$2"
;;
msvideo16-HasThunk)
enable_msvideo16_HasThunk="$2"
;;
ntdll-APC_Performance)
enable_ntdll_APC_Performance="$2"
;;
Expand Down Expand Up @@ -5029,21 +5025,6 @@ if test "$enable_msvfw32_ICGetDisplayFormat" -eq 1; then
) >> "$patchlist"
fi

# Patchset msvideo16-HasThunk
# |
# | This patchset fixes the following Wine bugs:
# | * [#41448] Check if any 16 bit thunks have been allocated before accessing pointer
# |
# | Modified files:
# | * dlls/msvideo.dll16/msvideo16.c
# |
if test "$enable_msvideo16_HasThunk" -eq 1; then
patch_apply msvideo16-HasThunk/0001-msvideo16-Check-if-any-16-bit-thunks-have-been-alloc.patch
(
printf '%s\n' '+ { "Michael Müller", "msvideo16: Check if any 16 bit thunks have been allocated before accessing pointer.", 1 },';
) >> "$patchlist"
fi

# Patchset ntdll-APC_Performance
# |
# | Modified files:
Expand Down Expand Up @@ -6408,7 +6389,7 @@ fi
# |
# | Modified files:
# | * dlls/advapi32/tests/security.c, include/wine/port.h, server/change.c, server/file.c, server/file.h, server/handle.c,
# | server/object.c, server/object.h, server/token.c
# | server/object.c, server/object.h
# |
if test "$enable_server_Stored_ACLs" -eq 1; then
patch_apply server-Stored_ACLs/0001-server-Unify-the-storage-of-security-attributes-for-.patch
Expand All @@ -6418,7 +6399,6 @@ if test "$enable_server_Stored_ACLs" -eq 1; then
patch_apply server-Stored_ACLs/0005-server-Store-file-security-attributes-with-extended-.patch
patch_apply server-Stored_ACLs/0006-server-Convert-return-of-file-security-masks-with-ge.patch
patch_apply server-Stored_ACLs/0007-server-Retrieve-file-security-attributes-with-extend.patch
patch_apply server-Stored_ACLs/0008-server-Fix-handling-of-MAXIMUM_ALLOWED-in-token_acce.patch
patch_apply server-Stored_ACLs/0009-server-Give-all-access-rights-when-opening-an-object.patch
(
printf '%s\n' '+ { "Erich E. Hoover", "server: Unify the storage of security attributes for files and directories.", 7 },';
Expand All @@ -6428,7 +6408,6 @@ if test "$enable_server_Stored_ACLs" -eq 1; then
printf '%s\n' '+ { "Erich E. Hoover", "server: Store file security attributes with extended file attributes.", 8 },';
printf '%s\n' '+ { "Erich E. Hoover", "server: Convert return of file security masks with generic access mappings.", 7 },';
printf '%s\n' '+ { "Erich E. Hoover", "server: Retrieve file security attributes with extended file attributes.", 7 },';
printf '%s\n' '+ { "Sebastian Lackner", "server: Fix handling of MAXIMUM_ALLOWED in token_access_check.", 1 },';
printf '%s\n' '+ { "Michael Müller", "server: Give all access rights when opening an object with MAXIMUM_ALLOWED.", 1 },';
) >> "$patchlist"
fi
Expand Down

This file was deleted.

0 comments on commit e4754f8

Please sign in to comment.