[ros-bugs] [Bug 3467] New: VirtualAlloc can crash system in some cases

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Tue Jul 8 19:38:00 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3467

           Summary: VirtualAlloc can crash system in some cases
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Patches
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: jura at cp-lab.com
         QAContact: ros-bugs at reactos.org


Created an attachment (id=2768)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=2768)
patch

VirtualAlloc crashes system if specified BaseAddress points to system allocated
memory area like MEMORY_AREA_SHARED_DATA. Such memory areas have uninitialized
region lists (MemoryArea->Data.SectionData.RegionListHead.Flink == NULL).

Attached patch fixes this problem in the following way:

- Invalid parameter error is returned if requested memory area is located above
USER_SHARED_DATA address (0x7FFE0000) (WinXP compatible).
- Access violation error is returned if existing memory area found on requested
address and this area have uninitialized region list.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list