[openib-general] [PATCH] diags/saquery: fix node_desc.description as string usages
Hal Rosenstock
halr at voltaire.com
Mon Oct 30 03:27:03 PST 2006
On Sat, 2006-10-28 at 16:04, 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 strcmp() or 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