[ofw] bug in umad.li

Leonid Keller leonid at mellanox.co.il
Mon Jan 18 06:49:43 PST 2010


We've come accross an application failure, which happens in the
following scenario:
 
umad_get_ca_guid calls umad_get_ca, which fails somewhere in the middle
and jumps to the label 'free'.
As far as ret != 0, delete(ca) is called.
But ca is a local variable of umad_get_ca_guid !
delete fails, causing the application failure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100118/6a05552d/attachment.html>


More information about the ofw mailing list