Page MenuHomeFreeBSD

Move check for (done_ccb == NULL)
ClosedPublic

Authored by slm on Apr 25 2016, 10:41 PM.

Details

Summary

done_ccb pointer can be used if it is NULL. To prevent this, move check for done_ccb == NULL to before done_ccb is used in the mprsas_stop_unit_done().

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

slm updated this revision to Diff 15601.Apr 25 2016, 10:41 PM
slm retitled this revision from to Move check for (done_ccb == NULL).
slm updated this object.
slm edited the test plan for this revision. (Show Details)
slm added reviewers: ken, scottl, ambrisko, asomers, mav, allanjude.
slm set the repository for this revision to rS FreeBSD src repository.
asomers accepted this revision.Apr 25 2016, 11:03 PM
asomers edited edge metadata.
This revision is now accepted and ready to land.Apr 25 2016, 11:03 PM
ken accepted this revision.Apr 26 2016, 5:55 PM
ken edited edge metadata.

Looks good.

This revision was automatically updated to reflect the committed changes.