Commit Graph

805 Commits

Author SHA1 Message Date
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
749bdd1781 Added patch to fix some of the issues with GetVolumePathName. 2014-09-02 05:37:54 +02:00
a118c9b4bd Added additional tests for GetVolumePathName (todo_wine still missing...). 2014-09-02 05:25:35 +02:00
b0f0c3ea9f kernel32-GetFinalPathNameByHandle: Fix an incorrect comment. 2014-09-01 23:47:48 +02:00
e272c49cd8 kernel32-GetFinalPathNameByHandle: Fix possible issues if GetVolumePathNameW changes upper/lowercase of characters. 2014-09-01 23:34:01 +02:00
c51df83deb kernel32-GetVolumePathName: Avoid reformatting unchanged lines. 2014-09-01 22:48:15 +02:00
c45a17079d Explicitly run patch scripts with python2 (since Archlinux has 3 installed by default). 2014-09-01 21:32:23 +02:00
faf78575ac Added patch to fix detection of ncurses library on Archlinux. 2014-09-01 21:30:32 +02:00
027b85ed1b Fix formatting issue in debian/changelog. 2014-08-29 22:43:06 +02:00
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
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
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
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
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
125673271d Simplify logic in patch to indicate direct rendering through OpenGL extension. 2014-08-28 07:14:02 +02:00
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
e2f635a164 Fix copy&paste error in Junction_Point tests. 2014-08-28 06:14:52 +02:00
9e6408add9 Fix invalid memory access and handle leak in Fix_Free / Junction_Point patches. 2014-08-28 05:48:17 +02:00
f6566f892d README.md: Move most of the content to the Wiki. 2014-08-28 04:39:29 +02:00
9c80cd53f9 patchupdate.py: Clean up some comments and spelling fixes. 2014-08-28 04:06:16 +02:00
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
15a19d27fc patchupdate.py: Fix typo in name of exception. 2014-08-28 03:53:23 +02:00
a8f3f9c4e4 Added patch to improve heap allocation performance. 2014-08-27 02:58:27 +02:00
3246faa114 Add patch to fix issues with setcap on wine-preloader executable. 2014-08-27 00:38:26 +02:00
4e4a8b7d32 Fix issue in winepulse patches (wrong syntax in configure script). 2014-08-26 23:23:59 +02:00