[ofa-general] Re: [PATCHv5] opensm/osm_lash: Fix use after free problem in osm_mesh_node_delete

Sasha Khapyorsky sashak at voltaire.com
Sun Aug 2 08:07:12 PDT 2009


On 08:40 Sun 02 Aug     , Hal Rosenstock wrote:
> 
> When osm_mesh_node_delete is called, osm_switch_delete may already have
> been called so sw->p_sw is no longer valid to be used although it was
> being used to obtain num_ports.
> 
> Fix this by performing delete_mesh_switches in free_lash_structures.
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

Applied. Thanks.

Sasha



More information about the general mailing list