diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-01-26 22:49:44 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-02-04 08:30:19 +0100 |
commit | cb79f1998d89821a4dbac47f59a46ee3fbbf3c61 (patch) | |
tree | 1d1f953a43d1b3aa6bd9a786637ab2c4d2c7ab19 /fs/dlm/dlm_internal.h | |
parent | dlm: fix dlm_dir_lookup() handling of too long names (diff) | |
download | linux-cb79f1998d89821a4dbac47f59a46ee3fbbf3c61.tar.xz linux-cb79f1998d89821a4dbac47f59a46ee3fbbf3c61.zip |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions