- Hey Arch, did you know MmpDeleteSection can be called for a Section Object before...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 15 Jul 2009 18:35:31 +0000 (18:35 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 15 Jul 2009 18:35:31 +0000 (18:35 +0000)
commit29fa9f1dd8e005c901a3e38bd238dad39c0c38c2
treeb34af1082f094ae8659253f1570e7f17c47e9dac
parent3989bd4e3c42908d62599c92ec9dcdbab63c0577
- Hey Arch, did you know MmpDeleteSection can be called for a Section Object before it is fully set up (when ObDereferenceObject is called before all fields are initialized), and it will now crash due to a bogus, nonintialized Segment/ImageSection pointer? Always zero out the whole buffer to prevent this. Fixes the kernel32 loader Winetest.

svn path=/trunk/; revision=41985
reactos/ntoskrnl/mm/section.c