add missing argument check in ulockmgr.c
authormkmm@gmx-topmail.de <mkmm@gmx-topmail.de>
Tue, 5 Oct 2010 11:00:06 +0000 (13:00 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 11 Nov 2010 15:18:39 +0000 (16:18 +0100)
commit573854609be45f38629823e20931d55c05561e51
tree6df1b87022e478eacaa0dc1def8cad0f109892b9
parent14db38278afb67f47c542e63e91299fe49b1516b
add missing argument check in ulockmgr.c

Add missing argument check in ulockmgr.c to prevent calling
ulockmgr_server with illegal arguments. This would cause an ever growing
list of ulockmgr_server processes with an endless list of open files which
finally exceeds the open file handle limit.

It appears samba is sometimes calling flock with illegal / weired values.
ChangeLog
lib/ulockmgr.c