Commit graph

4 commits

Author SHA1 Message Date
Michael Bikovitsky
e05af7acd2 Fix user data alignment in MEMBLOCK (#1471)
* Fix user data alignment in MEMBLOCK

Kernel memory allocations on Windows should be aligned on MEMORY_ALLOCATION_ALIGNMENT (16 bytes on x64 and 8 bytes on x86).

* Fix user data alignment in CS_WINKERNEL_MEMBLOCK
2019-05-09 09:23:46 +07:00
Quang Nguyễn
85f4b8f7d9 Fix an integer overflow issue (#871)
* provide a validity check to prevent against Integer overflow conditions

* fix some style issues.

* provide a validity check in malloc() function to prevent against integer overflow conditions

* missing Ntintsafe.h

* use tabs for indentation
2017-03-20 20:13:14 +08:00
Peter Hlavaty
5925d0cc62 vsnprintf fix
call nt!vsprintf_s
2014-06-02 21:48:30 +08:00
Nguyen Anh Quynh
937b28a0a7 add contrib/ directory 2014-05-31 12:07:25 +08:00