HomeFreeBSD

ocs_fc: Fix a use after free in ocs_sport_free

Description

ocs_fc: Fix a use after free in ocs_sport_free

Domain which could be freed is used while freeing the sport.
Use ocs from sport.

PR: 255866
Reported by: lylgood@foxmail.com
Approved by:: markj

Details

Provenance
Ram Kishore Vegesna <ram@FreeBSD.org>Authored on May 28 2021, 5:26 AM
Parents
rG96b40b896772: nfscl: Use hash lists to improve expected search performance for opens
Branches
Unknown
Tags
Unknown