diff options
author | Vijay Bellur <vbellur@redhat.com> | 2018-08-13 15:52:51 -0700 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-08-19 13:25:58 +0000 |
commit | e7afbfb1cf65da96f3b57427b1bb61b2ebde5bba (patch) | |
tree | ee3735ae93844549cbe56e5fc37178ee6476e50b /tests/thin-arbiter.rc | |
parent | 5ad8b6779db0ffacf876e254621ee7111f7f82b0 (diff) |
mgmt/glusterd: Code cleanup in glusterd-volgen.c
This patch does the following:
1. Addresses CID: 1124815,124816,1124833,1291724,1325535,1325536,1357858
- by adding some null checks
- by handling return values from functions
- by using an appropriate buffer length in strncpy
2. Cleans up some commented code
Change-Id: I5a7079f34e3e460d5a6267734c3bc84bf4ad72f5
updates: bz#789278
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/thin-arbiter.rc')
0 files changed, 0 insertions, 0 deletions