On 01:31 Sat 11 Nov , Hal Rosenstock wrote:
> Can you see if this fixes it ? Thanks.
>
> -- Hal
>
> Index: opensm/osm_helper.c
> ===================================================================
> --- opensm/osm_helper.c (revision 10089)
> +++ opensm/osm_helper.c (working copy)
> @@ -1264,7 +1264,7 @@
> IN const ib_service_record_t* const p_sr,
> IN const osm_log_level_t log_level )
> {
> - char buf_service_key[33];
> + char buf_service_key[35];
> char buf_service_name[65];
Good catch!
Other thing here buf_service_name is used for copying service_name
buffer which is NULL terminated according to spec. So copying is not
needed, instead we can put '\0' at end of buffer when MAD is received
(for sure).
Sasha
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general