]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: define prov_lib_path as a char array
authorKaike Wan <kaike.wan@intel.com>
Mon, 7 Jul 2014 17:36:25 +0000 (10:36 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 7 Jul 2014 17:36:25 +0000 (10:36 -0700)
commit5010e6031fc0fc0e26e008e6972ef83c9242d8ce
tree0c45574395afa9ff24d6468cfce3f34b57af4525
parentb7cbaac6cadd778140a20b161f7c29772fc5a77f
ibacm: define prov_lib_path as a char array

This patch fixes a segfault error when the option file defines the provider
lib path. The variable prov_lib_path should be a buffer (char array) instead
of a char pointer. This allows a string to be copied into it during option
parsing.

Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c