RE: [PATCH 1/1] ibacm: define prov_lib_path as a char array

2014-07-02 Thread Weiny, Ira
> > > > diff --git a/src/acm.c b/src/acm.c index 8f147ef..fae9d0b 100644 > > > > --- a/src/acm.c > > > > +++ b/src/acm.c > > > > @@ -193,7 +193,7 @@ static int log_level = 0; static char > > > > lock_file[128] = "/var/run/ibacm.pid"; static short server_port = > > > > 6125; static int support_ip

RE: [PATCH 1/1] ibacm: define prov_lib_path as a char array

2014-07-02 Thread Hefty, Sean
> > > diff --git a/src/acm.c b/src/acm.c > > > index 8f147ef..fae9d0b 100644 > > > --- a/src/acm.c > > > +++ b/src/acm.c > > > @@ -193,7 +193,7 @@ static int log_level = 0; static char > > > lock_file[128] = "/var/run/ibacm.pid"; static short server_port = > > > 6125; static int support_ips_in_a

RE: [PATCH 1/1] ibacm: define prov_lib_path as a char array

2014-07-02 Thread Weiny, Ira
> > > > diff --git a/src/acm.c b/src/acm.c > > index 8f147ef..fae9d0b 100644 > > --- a/src/acm.c > > +++ b/src/acm.c > > @@ -193,7 +193,7 @@ static int log_level = 0; static char > > lock_file[128] = "/var/run/ibacm.pid"; static short server_port = > > 6125; static int support_ips_in_addr_cfg =

RE: [PATCH 1/1] ibacm: define prov_lib_path as a char array

2014-07-02 Thread Weiny, Ira
> > diff --git a/src/acm.c b/src/acm.c > index 8f147ef..fae9d0b 100644 > --- a/src/acm.c > +++ b/src/acm.c > @@ -193,7 +193,7 @@ static int log_level = 0; static char lock_file[128] = > "/var/run/ibacm.pid"; static short server_port = 6125; static int > support_ips_in_addr_cfg = 0; -static char

[PATCH 1/1] ibacm: define prov_lib_path as a char array

2014-07-02 Thread kaike . wan
From: Kaike Wan 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 --- src/acm.c |