[Linux-cluster] Re: 2.6.15-rc5-mm3 dlm: missing NULL pointer checks

David Teigland teigland at redhat.com
Mon Dec 19 16:30:11 UTC 2005


On Sun, Dec 18, 2005 at 11:07:45AM +0100, Stefan Richter wrote:
> Hi all,
> 
> while browsing http://sosdg.org/~coywolf/lxr/ for a completely unrelated 
> matter, I found these two potential NULL pointer dereferences in 
> drivers/dlm/device.c. In do_user_lock():

Fixed, along with the "&& DLM_LKF_PERSISTENT" typo.
Thanks,
Dave

> >803                 if (!li && DLM_LKF_PERSISTENT) {
> >804                         li = allocate_lockinfo(fi, cmd, kparams);




More information about the Linux-cluster mailing list