diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2017-05-31 21:36:46 +0530 |
---|---|---|
committer | Pranith Kumar K <pkarampu@redhat.com> | 2017-06-06 17:46:22 +0530 |
commit | e9a7f90b29017cb406f7e263317253dfe0f3139b (patch) | |
tree | eea70afc6854e6dcb5c9c0a5037ce3744bc097d8 /tests | |
parent | 4b128f2ff635e4381bc310663da9f1c73b28e76e (diff) |
Prevent crashes when errMsg is not set
When reply->out is NULL, gluster-blockd is crashing in serializing the response.
Unfortunately the function where we can handle this error is auto-generated, so
I added catch-all errors with a generic-message if errMsg is not set.
Also improved errMsg in somecases where it is not setting by collecting the
error messages from all the config-nodes.
Change-Id: I706d8af9e8e6140d21c0d1268ae57dd5f364aa54
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions