Fix use after free.
Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Found with: Coverity Prevent(tm) CID: 3712
This commit is contained in:
parent
c654e30995
commit
f96b106236
@ -6137,7 +6137,7 @@ probedone(struct cam_periph *periph, union ccb *done_ccb)
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user