summaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_hash.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-09 14:01:54 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-06-10 22:06:33 +0200
commit14e45c15e1dcc4d972b41343661683efd60fed72 (patch)
tree96635555f499e15ae8b0eb2a0e0d45233544f80b /fs/ceph/ceph_hash.h
parentMerge branch 'kvm-updates/2.6.35' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff)
downloadlinux-14e45c15e1dcc4d972b41343661683efd60fed72.tar.xz
linux-14e45c15e1dcc4d972b41343661683efd60fed72.zip
sata_sil24: memset() overflow
cb->atapi.cdb is an array of 16 u8 elements. The call too memset() would set the first part of the sge array to zero as well. It's not a packed struct. This one has been around for five years. I found it with Smatch. I think the reason no one has seen it before is because we normally call sil24_fill_sg() and that overwrites sge with proper information? Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'fs/ceph/ceph_hash.h')
0 files changed, 0 insertions, 0 deletions