Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2009 19:46:01 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 166597 for review
Message-ID:  <200907261946.n6QJk1Na037604@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=166597

Change 166597 by mav@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907261946.n6QJk1Na037604>