|
From: Phillip S. <ps...@cf...> - 2001-10-27 19:26:07
|
You zero the pages just for .bss? How do you know? All pages allocated by user mode code are supposed to be taken from the zeroed list so that secure data from another process can't accidentally be given to another. At 06:24 PM 10/27/2001 +0200, you wrote: >Hi, > >sometimes, I get page faults in msvcrt.dll (and some other dlls). Some >variables are not initialized, but msvcrt assumed, that this variables are >initialized with zero (__file_rec_list, ...). Such variables are located in >the bss section. The memory manager doesn't clear pages for the bss >section. The variable is initialized with a random value. I've fixed this >problem in MmNotPresentFaultSectionView (mm/section.c). Pages for bss >sections are cleread, befor they are mapped. But the bug is in msvcrt.dll >(or other dlls). This variables must be initialized. > >- Hartmut ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |