[ofa-general] Re: [PATCH] opensm/osm_ucast_lash.c: Eliminate possible seg fault in get_osm_switch_from_port

Hal Rosenstock hal.rosenstock at gmail.com
Tue Jul 14 04:03:51 PDT 2009


On Mon, Jul 13, 2009 at 9:44 PM, Sasha Khapyorsky<sashak at voltaire.com> wrote:
> On 06:13 Mon 13 Jul     , Hal Rosenstock wrote:
>>
>> It's called with NULL port pointer from osm_get_lash_sl which is
>> invoked via SA PathRecord flow.
>
> It is what I asked - why is NULL pointer used there (in SA PathRecord
> flow) and is is legal usage?

It shouldn't be a valid use case.

> As far as I can see in osm_sa_path_record.c it should be impossible, but
> maybe I'm missing something.

Yes, that's what I thought too but apparently it doesn't appear to be
the case and I'm not sure how that could occur. Any ideas ?

-- Hal

> Sasha
>



More information about the general mailing list