svn commit: r189155 - in stable/7/sys: . cam contrib/pf
dev/ath/ath_hal dev/cxgb
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Feb 28 02:48:15 PST 2009
Author: trasz
Date: Sat Feb 28 10:48:11 2009
New Revision: 189155
URL: http://svn.freebsd.org/changeset/base/189155
Log:
MFC r187245:
Fix use after free.
Reviewed by: scottl
Approved by: rwatson (mentor)
Sponsored by: FreeBSD Foundation
Found with: Coverity Prevent(tm)
CID: 3712
Modified:
stable/7/sys/ (props changed)
stable/7/sys/cam/cam_xpt.c
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/ath/ath_hal/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
Modified: stable/7/sys/cam/cam_xpt.c
==============================================================================
--- stable/7/sys/cam/cam_xpt.c Sat Feb 28 10:45:31 2009 (r189154)
+++ stable/7/sys/cam/cam_xpt.c Sat Feb 28 10:48:11 2009 (r189155)
@@ -6137,7 +6137,7 @@ probedone(struct cam_periph *periph, uni
}
xpt_release_ccb(done_ccb);
softc->action = PROBE_TUR_FOR_NEGOTIATION;
- xpt_schedule(periph, done_ccb->ccb_h.pinfo.priority);
+ xpt_schedule(periph, priority);
return;
}
More information about the svn-src-stable-7
mailing list