[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]