]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ocfs2: add handler_map array bounds checking
authorTiger Yang <tiger.yang@oracle.com>
Thu, 23 Oct 2008 08:34:44 +0000 (16:34 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 10 Nov 2008 17:51:44 +0000 (09:51 -0800)
commitc988fd045f1195e62c0970384903ab9da26a9359
tree0777e42068fdb604a0fe92407f6c999b529354f1
parentceb1eba3dc2ad94b25764785ff7d2082c6094115
ocfs2: add handler_map array bounds checking

Make the handler_map array as large as the possible value range to avoid
a fencepost error.

[ Utilize alternate method -- Joel ]

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c