[openib-general] [PATCH v2] osmtest: fix node_desc.description as string usages

Hal Rosenstock halr at voltaire.com
Mon Oct 30 04:22:58 PST 2006


On Sat, 2006-10-28 at 16:33, 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>

Thanks. Applied.

-- Hal





More information about the general mailing list