[ros-dev] To: WaxDragon re: msi crash

Royce Mitchell III royce3 at ev1.net
Sat Aug 13 15:33:03 CEST 2005


Royce Mitchell III wrote:

> apply this patch to latest svn and send me debug log
>
>------------------------------------------------------------------------
>
>Index: create.c
>===================================================================
>--- create.c	(revision 17328)
>+++ create.c	(working copy)
>@@ -445,7 +445,7 @@
>   PDEVICE_EXTENSION DeviceExt;
>   ULONG RequestedDisposition, RequestedOptions;
>   PVFATCCB pCcb;
>-  PVFATFCB pFcb;
>+  PVFATFCB pFcb = NULL;
>   PVFATFCB ParentFcb;
>   PWCHAR c, last;
>   BOOLEAN PagingFileCreate = FALSE;
>@@ -564,6 +564,10 @@
>           vfatReleaseFCB (DeviceExt, ParentFcb);
> 	  if (NT_SUCCESS (Status))
> 	    {
>+#if defined(DBG) || defined(KDBG)
>+	      ASSERT ( pFcb );
>+	      CcRosTraceCacheMap ( pFcb->SectionObjectPointers.SharedCacheMap, TRUE );
>+#endif
>               Status = vfatAttachFCBToFileObject (DeviceExt, pFcb, FileObject);
>               if ( !NT_SUCCESS(Status) )
>               {
>@@ -577,6 +581,9 @@
> 					       pFcb,
> 					       DeviceExt,
> 					       &Irp->Overlay.AllocationSize);
>+#if defined(DBG) || defined(KDBG)
>+	      CcRosTraceCacheMap ( FileObject->SectionObjectPointer->SharedCacheMap, FALSE );
>+#endif
> 	      VfatSetExtendedAttributes(FileObject,
> 					Irp->AssociatedIrp.SystemBuffer,
> 					Stack->Parameters.Create.EaLength);
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.com
>http://reactos.com:8080/mailman/listinfo/ros-dev
>
oops, sorry, apply this patch to drivers/fs/vfat/create.c


More information about the Ros-dev mailing list