summaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorAl Viro2008-01-26 05:22:26 +0100
committerDavid Teigland2008-02-04 08:26:31 +0100
commitef58bccab7c7ef34451aa4ceea39545ef126b666 (patch)
tree56cdbdeba5db2cdca3e3f96a7124a4f83c56e791 /fs/autofs4
parentdlm: receive_rcom_lock_args() overflow check (diff)
downloadkernel-qcow2-linux-ef58bccab7c7ef34451aa4ceea39545ef126b666.tar.gz
kernel-qcow2-linux-ef58bccab7c7ef34451aa4ceea39545ef126b666.tar.xz
kernel-qcow2-linux-ef58bccab7c7ef34451aa4ceea39545ef126b666.zip
dlm: make find_rsb() fail gracefully when namelen is too large
We *can* get there from receive_request() and dlm_recover_master_copy() with namelen too large if incoming request is invalid; BUG() from DLM_ASSERT() in allocate_rsb() is a bit excessive reaction to that and in case of dlm_recover_master_copy() we would actually oops before that while calculating hash of up to 64Kb worth of data - with data actually being 64 _bytes_ in kmalloc()'ed struct. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions