reactos/reactos/ntoskrnl/config
Aleksey Bragin 8fa9f7b979 [NTOS]
- A number of fixes to CmpQueryKeyName():
 * Properly check the provided buffer size against needed size.
 * Don't overwrite user provided buffer.
 * Write as much data as could fit into the buffer (this is normal behaviour for any query function in the kernel), returning STATUS_INFO_LENGTH_MISMATCH if not all data were written.

Thanks to r3ddr4g0n for identifying the problem, testing with DPH and testing this patch.

svn path=/trunk/; revision=54711
2011-12-20 18:16:14 +00:00
..
arm
i386 [NTOSKNRL] 2011-11-20 16:39:31 +00:00
powerpc [NTOSKRNL/PPC] 2010-11-20 10:22:36 +00:00
cmalloc.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmapi.c [NTOSKRNL] 2011-11-19 17:20:39 +00:00
cmboot.c [HAL/NDK] 2011-09-18 13:11:45 +00:00
cmcheck.c
cmconfig.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmcontrl.c - Fix multiple typos and bugs, found by PVS-Studio 2011-09-01 15:30:19 +00:00
cmdata.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmdelay.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmhook.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmhvlist.c [NTOSKRNL/CONFIG] 2010-04-03 20:22:32 +00:00
cmindex.c [NTOSKRNL] 2011-06-24 15:52:19 +00:00
cminit.c [NTOSKRNL] 2011-11-19 17:54:33 +00:00
cmkcbncb.c [HAL/NDK] 2011-09-18 13:11:45 +00:00
cmkeydel.c
cmlazy.c [NTOS]: Implement CmSetLazyFlushState to disable lazy writing in the Cm. 2010-03-08 20:37:24 +00:00
cmmapvw.c
cmname.c
cmnotify.c [NTOSKRNL/CONFIG] 2010-03-31 14:10:24 +00:00
cmparse.c [NTOS]: Remove useless variables in kernel code that were set, but never actually used (dead code, tests, copy/pasters). If a variable was set but not used because of missing/#if'ed out code, a note was added instead. 2010-09-04 08:17:17 +00:00
cmquota.c [NTOSKRNL/CONFIG] 2010-03-31 14:10:24 +00:00
cmse.c [NTOS]: Mark all initialization functions INIT_FUNCTION. 2010-11-02 16:29:06 +00:00
cmsecach.c
cmsysini.c [NTOS] 2011-12-20 18:16:14 +00:00
cmvalche.c [HAL/NDK] 2011-09-18 13:11:45 +00:00
cmvalue.c Use memory wrappers instead of ExAllocatePool/ExFreePool directly 2009-08-30 19:20:30 +00:00
cmwraprs.c [HAL/NDK] 2011-09-18 13:11:45 +00:00
ntapi.c [NTOSKRNL] 2011-05-08 21:37:00 +00:00