]> git.baikalelectronics.ru Git - 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)
commit7a9dc8f88134a243df9a6ab66f0de59483709977
tree0777e42068fdb604a0fe92407f6c999b529354f1
parent88d182fae66813d5b47d6c7e2c602f1dca40e109
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