Commit graph

63453 commits

Author SHA1 Message Date
Pierre Schweitzer 1aecd02787 [CRT]
Fix memory allocation in __dllonexit

CID 514138

svn path=/trunk/; revision=69006
2015-09-04 16:49:51 +00:00
Pierre Schweitzer 975826e064 [CRT]
Fix rand_s implementation so that it doesn't leak resources, so that it doesn't dereference null pointer, so that it matches MSDN documentation (https://msdn.microsoft.com/fr-fr/library/sxtz2fa8.aspx)

CID 716561
CID 716668

svn path=/trunk/; revision=69005
2015-09-04 16:41:51 +00:00
Thomas Faber 3d95d5dd14 [NTOS]
- Fix TAG_IRP

svn path=/trunk/; revision=69004
2015-09-04 16:16:48 +00:00
Thomas Faber 2793ff5f85 [CDROM]
- Avoid IRP leaks

svn path=/trunk/; revision=69003
2015-09-04 16:01:46 +00:00
Pierre Schweitzer ddac0cda92 [MOUNTMGR]
Fix a nasty typo in QueryPointsFromMemory() which was like breaking the behavior of IOCTL_MOUNTMGR_QUERY_POINTS, IOCTL_MOUNTMGR_DELETE_POINTS

CID 1321853

svn path=/trunk/; revision=69002
2015-09-04 15:58:44 +00:00
Pierre Schweitzer bff1ce32bc [NTFS]
Don't bother comparing names if they have null length

svn path=/trunk/; revision=69001
2015-09-04 15:52:19 +00:00
Pierre Schweitzer 02a238acf4 [NTFS]
Don't attempt to dereference a null pointer
CID 1321987

svn path=/trunk/; revision=69000
2015-09-04 15:37:15 +00:00
Thomas Faber 9c35e7b817 [BOOTMGFW]
- Fix build with RUNTIME_CHECKS (and hopefully STACK_PROTECTOR)

svn path=/trunk/; revision=68999
2015-09-04 15:33:12 +00:00
Thomas Faber ddfbce11a3 [TOOLS]
- Fix MSVC warnings for C++ host-tools

svn path=/trunk/; revision=68998
2015-09-04 15:22:16 +00:00
Amine Khaldi 8cb9d1125b [BOOTMGFW] Add missing dependency.
svn path=/trunk/; revision=68997
2015-09-04 14:45:40 +00:00
Amine Khaldi 6556572a93 [BOOTMGFW] Add missing dependency.
svn path=/trunk/; revision=68996
2015-09-04 14:43:01 +00:00
Amine Khaldi 0bfea85680 [BOOTMGFW] Set the subsystem differently between GCC and MSVC builds.
svn path=/trunk/; revision=68995
2015-09-04 14:40:15 +00:00
Alex Ionescu 475dc31102 [TXTSETUP]
Still takes 3 commits to get 1 right.

svn path=/trunk/; revision=68994
2015-09-04 14:26:09 +00:00
Alex Ionescu 1213038a54 [BOOTMGFW]
Try to fix header.

svn path=/trunk/; revision=68993
2015-09-04 14:23:45 +00:00
Alex Ionescu 286f63072a [BOOTMGFW]
Nothing to see here. I hope this doesn't break the build.

svn path=/trunk/; revision=68992
2015-09-04 14:16:56 +00:00
Pierre Schweitzer cf68c63f61 [MUP]
Fix uninitialized address freeing in case of error in MupGetProviderInformation(), InitializeProvider()
CID 1322227
CID 1322240

svn path=/trunk/; revision=68990
2015-09-04 13:58:44 +00:00
Christoph von Wittich 414b2645fd [USBSTOR] fix memory leaks CID 1322134
svn path=/trunk/; revision=68989
2015-09-04 12:05:14 +00:00
Christoph von Wittich 05649af8f1 [SHELL32] fix a memory leak CID 1322145
svn path=/trunk/; revision=68988
2015-09-04 11:43:48 +00:00
Christoph von Wittich 3b6684d9db [WIN32SS] fix memory leak in error case CID 716637
svn path=/trunk/; revision=68987
2015-09-04 09:39:08 +00:00
Thomas Faber 2231e344a2 [FASTFAT]
- Don't try to free an uninitialized pointer in VfatSetRenameInformation. CID 1250303
- Actually use the dynamically calculated HashTableSize. CID 1237119/1237120/1237121

svn path=/trunk/; revision=68986
2015-09-04 08:37:01 +00:00
Christoph von Wittich e4e403fceb [I8042PRT] fix memory leak CID 1322163
svn path=/trunk/; revision=68985
2015-09-04 08:32:00 +00:00
Christoph von Wittich a7d123306b [SERVMAN] fix memory leak CID 1322153
svn path=/trunk/; revision=68984
2015-09-04 08:29:08 +00:00
Christoph von Wittich 1c2342e67a [DHCPSVC] fix resource leak in error case CID 1248422
svn path=/trunk/; revision=68983
2015-09-04 08:15:11 +00:00
Thomas Faber df1aa949dd [RSYM]
- This is not the typo you are looking for

svn path=/trunk/; revision=68982
2015-09-04 08:06:17 +00:00
Christoph von Wittich 3497ea0435 [CRT] fix resource leak in error case CID 716561
svn path=/trunk/; revision=68981
2015-09-04 08:02:53 +00:00
Thomas Faber e6718d0d2b [RSYM]
- Sort symbol entries with line number information before those without. Fixes backtraces showing ":0" as file/line for the first line of a function

svn path=/trunk/; revision=68980
2015-09-04 08:02:35 +00:00
Christoph von Wittich 2f1118245e [PORTCLS] fix memory leak in error case CID 716555
svn path=/trunk/; revision=68979
2015-09-04 07:59:51 +00:00
Christoph von Wittich febb71907e [WDMAUD.DRV] fix memory leak in error case CID 716484
svn path=/trunk/; revision=68978
2015-09-04 07:55:30 +00:00
Christoph von Wittich 7e866d72cd [NSLOOKUP] fix resource leaks CID 701325
svn path=/trunk/; revision=68977
2015-09-04 07:48:18 +00:00
Thomas Faber 2758598c82 [NTKRNLMP]
- Apply link flags to the right module

svn path=/trunk/; revision=68976
2015-09-04 06:37:05 +00:00
Hermès Bélusca-Maïto 7b277383ef [VSSAPI]
Compile the THISCALL calling convention support only for x86. On x64, we are automatically in THISCALL.
Also I suggest we turn this file (and maybe also /lib/sdk/crt/except/i386/cpp.s) into a "msvc-thiscall.c" as it is already done in some other DLLs (like in ole32, riched20).
Fixes build in x64.

svn path=/trunk/; revision=68975
2015-09-04 01:14:51 +00:00
Hermès Bélusca-Maïto 9ee2ac33d3 [few apps][LOGONUI][FREELDR][MSGINA][BLUE] VOIDify function paramater lists when they indeed don't take any arguments.
svn path=/trunk/; revision=68974
2015-09-04 00:21:03 +00:00
Hermès Bélusca-Maïto e1097c60fc [WIN32SS] VOIDify function paramater lists when they indeed don't take any arguments.
svn path=/trunk/; revision=68973
2015-09-04 00:11:49 +00:00
Hermès Bélusca-Maïto da4344a24c Forgot those three ones.
svn path=/trunk/; revision=68972
2015-09-03 23:59:27 +00:00
Hermès Bélusca-Maïto 26b7393e00 [NTDLL][HAL][INFLIB][RTL][NTOS] VOIDify function paramater lists when they indeed don't take any arguments.
svn path=/trunk/; revision=68971
2015-09-03 23:57:39 +00:00
Pierre Schweitzer 9f74cf45b1 [NTOSKRNL]
Mark more functions as INIT

svn path=/trunk/; revision=68970
2015-09-03 22:19:16 +00:00
Aleksandar Andrejevic f79d3eb7e7 [SHELL32]
Make the RLE-compressed AVIs even smaller.
CORE-10093 #resolve #comment Fixed in revision r68969.


svn path=/trunk/; revision=68969
2015-09-03 22:16:28 +00:00
Pierre Schweitzer 17027f7e54 [ADVAPI32]
Fix memory leaks in case of failure

CID 1322129
CID 1322130

svn path=/trunk/; revision=68968
2015-09-03 21:27:51 +00:00
Pierre Schweitzer ae490fe18e [MUP]
Fix an hypthetic uninit var usage in MupCreate().
Dedicated to Chris.

CID 1322239

svn path=/trunk/; revision=68967
2015-09-03 21:19:05 +00:00
Eric Kohl a8934e6e69 [INTL]
- Update all values in "HKCU\Control Panel\International" when a new language is selected.
- Update the language examples after a language change.
- Disable all settings that should not be affected by a language change.
Missing:
- Top-level windows do not get notification yet.
- Language settings customization should not work yet.
CORE-10074

svn path=/trunk/; revision=68966
2015-09-03 20:37:17 +00:00
Pierre Schweitzer f3b5c2fe1e [CDFS]
[FASTFAT]
[MUP]
[NTFS]
Mark DriverEntry() and associated functions as INIT

svn path=/trunk/; revision=68965
2015-09-03 20:34:47 +00:00
Stefan Ginsberg 7c209f0f0f - Now that we actually take the trouble to set up MmLargeStackSize properly, use it! Also make it possible to set via the registry by adding it to the control vector table.
svn path=/trunk/; revision=68964
2015-09-03 20:04:28 +00:00
Aleksandar Andrejevic cfea1726c5 [SHELL32]
RLE-compress the AVIs.


svn path=/trunk/; revision=68963
2015-09-03 19:42:46 +00:00
Stefan Ginsberg 9baf0c2a4e - Enable INIT_FUNCTION for HAL while keeping FreeLdr happy and not putting anything into .INIT when compiling mini-HAL for it.
svn path=/trunk/; revision=68962
2015-09-03 17:52:13 +00:00
Christoph von Wittich acbf8ce925 [RECYCLEBIN] tabs to spaces (no code changes)
svn path=/trunk/; revision=68961
2015-09-03 17:40:13 +00:00
Christoph von Wittich d4e8254f9e [RECYCLEBIN] fix some resource leaks CID 716559 716560
svn path=/trunk/; revision=68960
2015-09-03 17:35:37 +00:00
Stefan Ginsberg da0a374ef0 - Don't put VdmpInitialize in .INIT either as it is not called during kernel initialization, but from videoport driver during its initialization. CORE-10097
svn path=/trunk/; revision=68938
2015-09-03 16:52:28 +00:00
Stefan Ginsberg 72a849ff44 - Enable placing kernel functions in the .INIT section (GCC only, MSVC is TBD). This allows them to be freed from memory after initialization is finished.
- PspMapSystemDll and IopDisplayLoadingMessage are called from non-initialization code, so don't put them in .INIT. CmpHiveRootSecurityDescriptor is called from initialization code, but too late in boot, so don't discard it either.
- Trying to enable this for HAL as well leads to a weird crash very early in boot. Investigation is ongoing. Until then we will just have to keep the huge PCI Class/Vendor tables in memory...
- Enable it for Win32k though as it seems to work fine there.
- Remove INIT_FUNCTION from function prototypes, it serves no purpose there.
See issue 10097 for more details.

svn path=/trunk/; revision=68937
2015-09-03 15:31:09 +00:00
James Tabor 42a15c9829 [Win32SS]
- Fix hilite text with objects. Mirror changes.

svn path=/trunk/; revision=68936
2015-09-03 14:29:53 +00:00
James Tabor c10459d14a [RTL]
- Fix Underscore drawing for Win32k and related functions.

svn path=/trunk/; revision=68935
2015-09-03 12:59:26 +00:00