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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187245
@ -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…
Reference in New Issue
Block a user