[ros-bugs] [Bug 3715] Livecd crashes in qemu without hd image

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Sep 24 09:56:18 CEST 2008


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


criso <M8R-3npp3o at mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |M8R-3npp3o at mailinator.com




--- Comment #1 from criso <M8R-3npp3o at mailinator.com>  2008-09-24 09:56:17 CET ---
Isolated to a change made:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/pool.c?annotate=35835#l39

When booting the livecd without a hard drive,
_SystemConfigurationInformation.DiskCount is zero. xHalIoAssignDriveLetters
calls ExAllocatePool(..., ConfigInfo->DiskCount...), ExAllocatePool calls
EiAllocatePool and it fails with a KeBugCheckEx BAD_POOL_CALLER 0x00.

msdn says "Avoid calling with NumberOfBytes == 0. Doing so will result in pool
header wastage."

Thus NumberOfBytes == 0 is a kosher argument to ExAllocatePool and the
KeBugCheckEx in EiAllocatePool is erroneous.


-- 
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.


More information about the Ros-bugs mailing list