From: Al Viro Date: Sat, 26 Jan 2008 21:49:44 +0000 (-0500) Subject: dlm: dlm/user.c input validation fixes X-Git-Tag: v2.6.25-rc1~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb79f1998d89821a4dbac47f59a46ee3fbbf3c61;p=pandora-kernel.git dlm: dlm/user.c input validation fixes a) in device_write(): add sentinel NUL byte, making sure that lspace.name will be NUL-terminated b) in compat_input() be keep it simple about the amounts of data we are copying. Signed-off-by: Al Viro Signed-off-by: David Teigland --- Reading git-diff-tree failed