ntdll: Fixed buffer size checking for ProcessWow64Information on 64bit in NtQueryInformationProcess. (try 3)

Qian Hong qhong at codeweavers.com
Thu Jan 15 02:52:26 CST 2015

Also fixed a potential crashing by NULL ProcessInformation pointer.

Try 3:
- Fixed buffer written size and added buffer written size test. (Thanks 
- Really fixed NULL pointer crashing.
- Coding style tweak, minimize diff size.

  dlls/ntdll/process.c    | 12 +++++---
  dlls/ntdll/tests/info.c | 82 
  2 files changed, 89 insertions(+), 5 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Fixed-buffer-size-checking-for-ProcessWow64Infor.txt
Type: text/x-patch
Size: 6466 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150115/008f1632/attachment-0001.bin>

More information about the wine-patches mailing list