---
 trunk/lib/lck.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trunk/lib/lck.c b/trunk/lib/lck.c
index 4b453fb..95b2c1e 100644
--- a/trunk/lib/lck.c
+++ b/trunk/lib/lck.c
@@ -773,7 +773,7 @@ saLckResourceLock (
                goto error_exit;
        }
 
-       if (lockId == NULL) {
+       if (lockId == NULL || lockStatus == NULL) {
                error = SA_AIS_ERR_INVALID_PARAM;
                goto error_exit;
        }
-- 
1.5.5.6

_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to