Use after free in osm_prtn_delete
PATCH 1/1 Use after free in osm_prtn_delete
From: Vladimir Koushnir <vladimirk-VPRAkNaXOzVWk0Htik3J/[email protected]>
--- opensm/osm_prtn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
opensm/osm_prtn.c +1 -1
@@ -105,13 +105,13 @@ void osm_prtn_delete(IN osm_subn_t * p_subn, IN OUT osm_prtn_t ** pp_prtn)/* osm_mgrp_cleanup will not delete * "well_known" groups */ p->mgrps[i]->well_known = FALSE; -osm_mgrp_cleanup (p_subn, p->mgrps[i]);OSM_LOG (&p_subn->p_osm->log,OSM_LOG_DEBUG ,"removing mgroup %s from partition (0x%x)\n" ,inet_ntop (AF_INET6 , p->mgrps[i]->mcmember_rec.mgid.raw, gid_str,sizeof gid_str),cl_hton16 (p->pkey)); +osm_mgrp_cleanup (p_subn, p->mgrps[i]); }free (p->mgrps);
Signature · 6 lines
1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html