Re: [PATCH] opensm/osm_helper.c: fix potential overrun of the array

2010-09-12 Thread Yevgeny Kliteynik
On 09-Sep-10 5:36 PM, Sasha Khapyorsky wrote: On 18:02 Tue 07 Sep , Yevgeny Kliteynik wrote: Max index of the ib_sm_method_str[] static array is 0x20. Fixing OSM_SM_METHOD_STR_UNKNOWN_VAL to match this value. Signed-off-by: Yevgeny Kliteynikklit...@dev.mellanox.co.il ---

Re: [PATCH] opensm/osm_helper.c: fix potential overrun of the array

2010-09-09 Thread Sasha Khapyorsky
On 18:02 Tue 07 Sep , Yevgeny Kliteynik wrote: Max index of the ib_sm_method_str[] static array is 0x20. Fixing OSM_SM_METHOD_STR_UNKNOWN_VAL to match this value. Signed-off-by: Yevgeny Kliteynik klit...@dev.mellanox.co.il Applied. Thanks. Sasha -- To unsubscribe from this list: send

[PATCH] opensm/osm_helper.c: fix potential overrun of the array

2010-09-07 Thread Yevgeny Kliteynik
Max index of the ib_sm_method_str[] static array is 0x20. Fixing OSM_SM_METHOD_STR_UNKNOWN_VAL to match this value. Signed-off-by: Yevgeny Kliteynik klit...@dev.mellanox.co.il --- opensm/opensm/osm_helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git