Commit Graph

1167 Commits

Author SHA1 Message Date
Sebastian Lackner
1d0979cb9b server-Inherited_ACLs: Fix leaking combined security descriptor and parent_sd. 2014-09-06 04:00:58 +02:00
Sebastian Lackner
b91cca8e61 server-Inherited_ACLs: More bugfixes (easy ones). 2014-09-06 03:10:50 +02:00
Sebastian Lackner
130fbbe654 server-Inherited_ACLs: Remove unused flag. 2014-09-06 00:34:40 +02:00
Sebastian Lackner
e536c2d707 server-ACL_Compat/server-Inherited_ACLs: Avoid creating unnecessary file object for checking the parent SDs. 2014-09-06 00:02:39 +02:00
Sebastian Lackner
6c26951aae server-Inherited_ACLs: Added check for return value of strndup, improve detection of parent directory.
This is the same method that is used to traverse the path in kernel32.dll. Its still not perfect, because
the wineserver will easily get confused by symlinks. In this case the attributes should be inherited
from the real parent directory, not from the directory that contains the symlink.
2014-09-05 22:53:25 +02:00
Sebastian Lackner
cc1c1f12ae Removed patch to fix detection of ncurses on Archlinux (accepted upstream). 2014-09-05 18:44:34 +02:00
Sebastian Lackner
b1a5dfb1f7 Updated libncursesw patch to be FreeBSD/MacOS compatible. 2014-09-04 22:23:45 +02:00
Sebastian Lackner
3cd7f91608 Removed patchset msi-MoveFiles (accepted upstream). 2014-09-04 22:04:40 +02:00
Sebastian Lackner
752393bbe3 Replace ncurses fix with easier solution (regex pattern instead of checking for two libs). 2014-09-04 09:34:49 +02:00
Sebastian Lackner
4c094dc57d Makefile: Add support for 'series' and 'install-git' target. 2014-09-04 04:46:15 +02:00
Sebastian Lackner
5cab0e1b8f kernel32-GetVolumePathName: Fix possible leak and merge patches 1 and 5. 2014-09-03 13:58:27 +02:00
Sebastian Lackner
819a738d3d server-ACL_Compat: Make parser more strict and clean up code.
Voila! This new parser should catch all invalid security descriptor ACLs... I
only hope that it doesn't block valid ones. Probably makes sense to do some testing
before the release. ;)
2014-09-03 00:28:40 +02:00
Sebastian Lackner
4caa3f834f server-ACL_Compat: Fix some style issues and buffer handling errors.
As we probably shouldn't remove ACL_Compat too soon, we have to maintain it unfortunately...
It would crash easily at the moment, when the extended attribute contains invalid data.
This patch is the easy part, there are a lot more issues left in the parser.
2014-09-02 07:13:24 +02:00
Sebastian Lackner
749bdd1781 Added patch to fix some of the issues with GetVolumePathName. 2014-09-02 05:37:54 +02:00
Sebastian Lackner
a118c9b4bd Added additional tests for GetVolumePathName (todo_wine still missing...). 2014-09-02 05:25:35 +02:00
Sebastian Lackner
b0f0c3ea9f kernel32-GetFinalPathNameByHandle: Fix an incorrect comment. 2014-09-01 23:47:48 +02:00
Sebastian Lackner
e272c49cd8 kernel32-GetFinalPathNameByHandle: Fix possible issues if GetVolumePathNameW changes upper/lowercase of characters. 2014-09-01 23:34:01 +02:00
Sebastian Lackner
c51df83deb kernel32-GetVolumePathName: Avoid reformatting unchanged lines. 2014-09-01 22:48:15 +02:00
Sebastian Lackner
c45a17079d Explicitly run patch scripts with python2 (since Archlinux has 3 installed by default). 2014-09-01 21:32:23 +02:00
Sebastian Lackner
faf78575ac Added patch to fix detection of ncurses library on Archlinux. 2014-09-01 21:30:32 +02:00
Sebastian Lackner
027b85ed1b Fix formatting issue in debian/changelog. 2014-08-29 22:43:06 +02:00
Sebastian Lackner
9b303a4f82 server-Stored_ACLs: Fix check for invalid security descriptors.
Checking for the length is not sufficient. The values contained in the SD (like AceCount) could
still be garbage, and lead to errors when the SD is processed later.
2014-08-29 04:22:32 +02:00
Sebastian Lackner
4ff0b53021 server-Inherited_ACLs: Avoid using different sizes for mem_alloc and memcpy, some style cleanup.
It is a bit risky to use two different values for mem_alloc and memcpy - under some circumstances
these values probably don't match, leading to an invalid memory access. As the ACLs are accessed
without any special checks this shows that we'll also need additional protection in one of the
earlier patches.
2014-08-29 03:58:31 +02:00
Sebastian Lackner
04d674d9b6 server-Stored_ACLs: Minor cleanup.
We can avoid some variable declarations in the regular code, and only need them for ACL_Compat.
2014-08-29 03:37:44 +02:00
Sebastian Lackner
e91e2daca4 ntdll-DOS_Attributes: Minor cleanup.
I think its more clear when all functions that take a tuple (struct stat, ULONG attr)
use the same argument order. Besides that I've removed the "const" prefix from ULONG
variables.
2014-08-28 18:11:00 +02:00
Sebastian Lackner
ece1d51745 ntdll-Fix_Free: Move fix for invalid memory access to patch 9, which introduced the error. 2014-08-28 07:26:53 +02:00
Sebastian Lackner
125673271d Simplify logic in patch to indicate direct rendering through OpenGL extension. 2014-08-28 07:14:02 +02:00
Sebastian Lackner
da7d2715d3 bcrypt-BCryptGetFipsAlgorithmMode: Don't expect mode to be off (otherwise it will be difficult to get this patch upstream). 2014-08-28 07:10:32 +02:00
Sebastian Lackner
e2f635a164 Fix copy&paste error in Junction_Point tests. 2014-08-28 06:14:52 +02:00
Sebastian Lackner
9e6408add9 Fix invalid memory access and handle leak in Fix_Free / Junction_Point patches. 2014-08-28 05:48:17 +02:00
Sebastian Lackner
f6566f892d README.md: Move most of the content to the Wiki. 2014-08-28 04:39:29 +02:00
Sebastian Lackner
9c80cd53f9 patchupdate.py: Clean up some comments and spelling fixes. 2014-08-28 04:06:16 +02:00
Sebastian Lackner
f4e3d72fc1 patchupdate.py: Fix issue in patch dependency detection (ntdll-Junction_Points depend on ntdll-Fix_Free to apply properly). 2014-08-28 03:53:34 +02:00
Sebastian Lackner
15a19d27fc patchupdate.py: Fix typo in name of exception. 2014-08-28 03:53:23 +02:00
Sebastian Lackner
a8f3f9c4e4 Added patch to improve heap allocation performance. 2014-08-27 02:58:27 +02:00
Sebastian Lackner
3246faa114 Add patch to fix issues with setcap on wine-preloader executable. 2014-08-27 00:38:26 +02:00
Sebastian Lackner
4e4a8b7d32 Fix issue in winepulse patches (wrong syntax in configure script). 2014-08-26 23:23:59 +02:00
Sebastian Lackner
cf5a6bdbf3 Add patch to make allow dynamic linking of wpcap. 2014-08-26 23:04:55 +02:00
Erich E. Hoover
7e7a3881c4 Fix (safe) duplicate free in last 'Free Fix' patch. 2014-08-26 12:22:36 -06:00
Erich E. Hoover
023b7bd4cb Revise README message for ntdll leak fixes. 2014-08-25 09:22:53 -06:00
Erich E. Hoover
ff169cd1b7 Add fix for unintentional leaks with ntdll internals. 2014-08-25 09:18:10 -06:00
Erich E. Hoover
5f93d74102 Remove unintentionally added experimental Junction Point patch. 2014-08-24 13:52:18 -06:00
Erich E. Hoover
ce3f41cee9 Merge updates in master. 2014-08-24 13:50:56 -06:00
Erich E. Hoover
52453428f2 Release 1.7.25. 2014-08-24 11:12:20 -06:00
Sebastian Lackner
1c40aa1553 Add missing entry to debian/changelog. 2014-08-23 15:32:45 +02:00
Sebastian Lackner
dad496036d shell32-Default_Path: Fix whitespace errors. 2014-08-23 07:47:26 +02:00
Sebastian Lackner
fe0aa3f54d server-OpenProcess: Update to latest version of the patch. 2014-08-23 07:39:07 +02:00
Sebastian Lackner
26b0797bcb Rewrite part of server-CreateProcess_ACLs in order to fix incorrect error codes and memory leaks. 2014-08-23 06:33:01 +02:00
Sebastian Lackner
bba9e118d9 server-CreateProcess_ACLs: Remove whitespace issues, remove duplicate subject line. 2014-08-23 03:29:30 +02:00
Sebastian Lackner
0bc7ba983c Add some additional changes to debian/changelog. 2014-08-23 03:00:32 +02:00