---
trunk/lib/lck.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/trunk/lib/lck.c b/trunk/lib/lck.c
index cecf2a9..b881651 100644
--- a/trunk/lib/lck.c
+++ b/trunk/lib/lck.c
@@ -263,6 +263,10 @@ saLckOptionCheck (
struct lckInstance *lckInstance;
SaAisErrorT error = SA_AIS_OK;
+ if (lckOptions == NULL) {
+ error = SA_AIS_ERR_INVALID_PARAM;
+ goto error_exit;
+ }
error = hdb_error_to_sa (hdb_handle_get (&lckHandleDatabase,
lckHandle, (void *)&lckInstance));
if (error != SA_AIS_OK) {
--
1.5.5.6
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais