Cluster Project branch, STABLE2, updated. cluster-2.02.00-14-g31b6d55
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, STABLE2 has been updated
via 31b6d55cadb4aa87a76d907dc2fa7696fda89379 (commit)
from 088cad7ce9f46b501fcfd8475c71e0909a86d895 (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 31b6d55cadb4aa87a76d907dc2fa7696fda89379
Author: Christine Caulfield <[email protected]> Date: Thu Mar 13 16:44:00 2008 +0000
[DLM] Don't segfault if lvbptr is NULL
Calling dlm_lock* with LKF_VALBLK and sb_lvbptr set to NULL could cause libdlm to segfault.
Now it returns -1/EINVAL
-----------------------------------------------------------------------
Summary of changes:
dlm/lib/libdlm.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
dlm/lib/libdlm.c +5 -0
@@ -889,6 +889,11 @@ static int ls_lock(dlm_lshandle_t ls,return -1 ; } +if (flags &LKF_VALBLK && !lksb->sb_lvbptr) { + errno =EINVAL ; +return -1 ; + } +if (kernel_version.version[0 ] ==5 )return ls_lock_v5 (ls, mode, lksb, flags, name, namelen, parent, astaddr, astarg, bastaddr);
hooks/post-receive
--
Cluster Project