summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorfanchaoting <fanchaoting@cn.fujitsu.com>2013-03-21 09:15:30 +0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-21 10:11:06 -0400
commit4376c94618c26225e69e17b7c91169c45a90b292 (patch)
tree87d1eeb7c799c4c51fbdf396fab1100857e605fb /fs/ubifs/ubifs.h
parentcf4ab538f1516606d3ae730dce15d6f33d96b7e1 (diff)
downloadop-kernel-dev-4376c94618c26225e69e17b7c91169c45a90b292.zip
op-kernel-dev-4376c94618c26225e69e17b7c91169c45a90b292.tar.gz
pnfs-block: removing DM device maybe cause oops when call dev_remove
when pnfs block using device mapper,if umounting later,it maybe cause oops. we apply "1 + sizeof(bl_umount_request)" memory for msg->data, the memory maybe overflow when we do "memcpy(&dataptr [sizeof(bl_msg)], &bl_umount_request, sizeof(bl_umount_request))", because the size of bl_msg is more than 1 byte. Signed-off-by: fanchaoting<fanchaoting@cn.fujitsu.com> Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud