[openib-general] [PATCH v2] osmtest: fix node_desc.description as string usages
Muli Ben-Yehuda
muli at il.ibm.com
Sat Oct 28 14:33:57 PDT 2006
On Sat, Oct 28, 2006 at 10:33:40PM +0200, Sasha Khapyorsky wrote:
>
> node_desc.description buffer is received from the network and should
> not be NULL-terminated. In such cases using it as regular string in
> functions like printf() leads to segmentation faults. This patch fixes
> such usages.
>
> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
Looks good,
Acked-by: Muli Ben-Yehuda <muli at il.ibm.com>
Cheers,
Muli
More information about the general
mailing list