[ros-bugs] [Bug 3193] Accessing CD-ROM causes crash.

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Mon Apr 28 12:48:05 CEST 2008


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





--- Comment #5 from Jones111 <klosesysteme at gmail.com>  2008-04-28 12:48:04 CET ---
Changes were made between the lines 278 and 289 by Alex:

From:

DeviceExt = DeviceObject->DeviceExtension;
ExAcquireResourceExclusiveLite(&DeviceExt->DirResource, True);
Status = CdfsCreateFile(DeviceObject, Irp);
ExReleaseResourceLite(&DeviceExt->DirResource);

ByeBye:
Irp->IoStatus.Status = Status;


To:


DeviceExt = DeviceObject->DeviceExtension;

KeEnterCriticalRegion();

ExAcquireResourceExclusiveLite(&DeviceExt->DirResource, True);
Status = CdfsCreateFile(DeviceObject, Irp);
ExReleaseResourceLite(&DeviceExt->DirResource);

KeLeaveCriticalRegion();

ByeBye:
Irp->IoStatus.Status = Status;


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