summaryrefslogtreecommitdiffstats
path: root/xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h
diff options
context:
space:
mode:
authorSheetal Pamecha <sheetal.pamecha08@gmail.com>2018-10-01 17:02:09 +0530
committerKotresh HR <khiremat@redhat.com>2018-10-08 04:58:00 +0000
commit1d392e2970fb5b1d2f8cf2904e7b7e5d32a21882 (patch)
tree9adafb87b5a375f68dbfab70519b4020eff2f5ca /xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h
parent6a6709489525e2c438a3ec1974771247bc2e07d4 (diff)
features/bit-rot: NULL pointer deferencing clang fix
Problem: local could be NULL Added condition checks to address this issue Updates: bz#1622665 Change-Id: I7be7dacc5386a77441385240b43f22d85074b69d Signed-off-by: Sheetal Pamecha <sheetal.pamecha08@gmail.com>
Diffstat (limited to 'xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h')
-rw-r--r--xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h b/xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h
index cccc3b9..0e22f74 100644
--- a/xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h
+++ b/xlators/features/bit-rot/src/stub/bit-rot-stub-messages.h
@@ -39,6 +39,6 @@ GLFS_MSGID(BITROT_STUB, BRS_MSG_NO_MEMORY, BRS_MSG_SET_EVENT_FAILED,
BRS_MSG_BAD_HANDLE_DIR_NULL, BRS_MSG_BAD_OBJ_THREAD_FAIL,
BRS_MSG_BAD_OBJ_DIR_CLOSE_FAIL, BRS_MSG_LINK_FAIL,
BRS_MSG_BAD_OBJ_UNLINK_FAIL, BRS_MSG_DICT_SET_FAILED,
- BRS_MSG_PATH_GET_FAILED);
+ BRS_MSG_PATH_GET_FAILED, BRS_MSG_NULL_LOCAL);
#endif /* !_BITROT_STUB_MESSAGES_H_ */