Fix a bug, when the memory for a file cluster chain record was freed from the heap although it was still in use. Instead free the buffer when the file is closed.
svn path=/trunk/; revision=53982
- Do not access an object after destruction.
- Remove the remaining mentions of a function which Sir Richard defeated a year ago.
svn path=/trunk/; revision=53978
- Add a flag to distinguish Ansi and Unicode message tables. Keep them Ansi for now pending further testing
- Apply this to MSVC build as well. Fixes ntoskrnl messages incorrectly being Unicode
svn path=/trunk/; revision=53971
- Clean up some headers
- Add DPRINT_HEAP debug channel mask
- Make ExAllocatePool a function instead of a macro
- Add a cleanup function to the new heap code
svn path=/trunk/; revision=53967
- Implement CM_Get_DevNode_Custom_Property[_Ex]A/W.
- Fix the return value of CM_Open_Class_Key_ExA.
- Handle REG_MULTI_SZ values properly in CM_Get_DevNode_Registry_Property_ExA.
svn path=/trunk/; revision=53965
- Correctly handle an arbitrarily large sockaddr in WSPConnect. Fixes mIRC 7.1x crash on connect
See issue #6005 for more details.
svn path=/trunk/; revision=53962
* Work around an issue with clang and __debugbreak(). They mark __debugbreak as built-in (so we can't use ours) but it's not supported yet (so if we use nothing we get an error).
svn path=/trunk/; revision=53958
Implement new heap code. The code is much less complex than bget and allows to use allocation tags and releasing unused memory. Its not yet active.
svn path=/trunk/; revision=53956
- Pass the module list head to a number of pe loader functions instead of the loader block.
- use static for some functions
- remove unneeded prototypes
svn path=/trunk/; revision=53947
- Fix RECTL_bPointInRect to work like PtInRect
- Use the fixed RECTL_bPointInRect in DIB_XXBPP_FloodFillSolid to fix a bugchek
See issue #6437 for more details.
svn path=/trunk/; revision=53946
* Reduce the scope of a variable.
* Comment out some unused code.
* Initialize some member variables in the respective constructors.
svn path=/trunk/; revision=53944
- use RtlStringCbPrintfA instead of manually calculating required length and checking if the buffer is large enough
- Use %wZ as format specifier for a UNICODE_STRING, instead of using %S and making assumptions about zero termination.
- Don't "while (TRUE);" on buffer overflow!
svn path=/trunk/; revision=53942
Fix remaining issues, bootsector compiles with GAS and ML. Sadly GAs sucks a bit and does neither allow to specify byte offsets, nor does it chose this itself to save space. As a result the code gets several bytes larger and I had to trim the messages even more.
svn path=/trunk/; revision=53938