PERFORCE change 166597 for review

Alexander Motin mav at FreeBSD.org
Sun Jul 26 19:46:05 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=166597

Change 166597 by mav at mav_mavbook on 2009/07/26 19:45:56

	Fix use after free.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#6 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#6 (text+ko) ====

@@ -681,8 +681,8 @@
 	default:
 		break;
 	}
+	softc->state = PMP_STATE_NORMAL;
 	cam_periph_unhold(periph);
-	softc->state = PMP_STATE_NORMAL;
 }
 
 #endif /* _KERNEL */


More information about the p4-projects mailing list