This problem was revealed by r36797 (thanks to aicom, elhoir, Lone_Rifle and vicmarcal for the help with regression testing)
Fixes ipconfig, ping and other network apps crashing with a buffer overflow.
svn path=/trunk/; revision=36816
- Add ppi to THREADINFO and initialize it
- Initialize THREADINFO.PtiLink and DESKTOP.PtiList and link the thread to it's desktop
svn path=/trunk/; revision=36810
- Pass correct size for ServiceStatusProcess to QueryServiceStatusEx which prevents trashing the next services information in Info buffer.
- Added missing CloseServiceHandle calls.
svn path=/trunk/; revision=36807
- Use CLIENTINFO.ulClientDelta instead of W32THREADINFO.DesktopHeapDelta
- Remove DesktopHeapDelta from W32THREADINFO- Add PtiList to DESKTOP
- Add pClientInfo to THREADINFO
svn path=/trunk/; revision=36800
- test that:
- the last error is never set
- the buffer size is ignored if the buffer is NULL
- the buffer size is returned if the buffer is non-NULL and too small
- the function fails if a non-NULL buffer has a size <= 0
- allocate the DC for a GDI test with a GDI routine (CreateCompatibleDC) instead of an USER routine (GetDC)
svn path=/trunk/; revision=36779
modified rbuild/backend/mingw/modulehandler.cpp
modified rbuild/backend/msbuild/msbuild.cpp
modified rbuild/backend/msvc/vcprojmaker.cpp
modified rbuild/project.cpp
modified rbuild/rbuild.h
Index properties and modules by name.
Should make for faster lookups and slightly faster overall execution, no idea exactly by how much but there you have it.
modified rbuild/automaticdependency.cpp
modified rbuild/backend/dependencymap/dependencymap.cpp
modified rbuild/backend/devcpp/devcpp.cpp
modified rbuild/backend/mingw/mingw.cpp
modified rbuild/backend/mingw/proxymakefile.cpp
modified rbuild/backend/msvc/msvc.cpp
modified rbuild/backend/msvc/msvcmaker.cpp
modified rbuild/backend/versionreport/versionreport.cpp
modified rbuild/compilationunitsupportcode.cpp
modified rbuild/module.cpp
modified rbuild/pch.h
modified rbuild/syssetupgenerator.cpp
modified rbuild/testsupportcode.cpp
Fix compilation, no functional changes
This dedication committed to Casper and Hervé
svn path=/trunk/; revision=36766
modified lib/rtl/rtl.rbuild
Compile rtl twice, as rtl_umode and rtl_kmode. Allows conditional compilation of RTL (finally!), instead of necessitating hacks like RtlpGetMode()
"rtl" module now a dummy static library for things like <include base="rtl">
modified boot/freeldr/freeldr/freeldr.rbuild
modified boot/freeldr/freeldr/setupldr.rbuild
modified ntoskrnl/ntoskrnl-generic.rbuild
rtl -> rtl_kmode
modified dll/ntdll/ntdll.rbuild
rtl -> rtl_umode
This commit dedicated to Fireball and Stefan100 (now get to work! >:3)
svn path=/trunk/; revision=36761