kernel-fxtec-pro1x/include/linux/ceph
Xi Wang 76aa542fb9 ceph: fix bounds check in ceph_decode_need and ceph_encode_need
Given a large n, the bounds check (*p + n > end) can be bypassed due to
pointer wraparound.  A safer check is (n > end - *p).

[elder@dreamhost.com: inverted test and renamed ceph_has_room()]

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Alex Elder <elder@dreamhost.com>
2012-05-14 12:12:27 -05:00
..
auth.h ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
buffer.h
ceph_debug.h
ceph_frag.h
ceph_fs.h ceph: drop support for preferred_osd pgs 2012-05-07 15:33:36 -07:00
ceph_hash.h
debugfs.h
decode.h ceph: fix bounds check in ceph_decode_need and ceph_encode_need 2012-05-14 12:12:27 -05:00
libceph.h rbd: make ceph_parse_options() return a pointer 2012-03-22 10:47:47 -05:00
mdsmap.h
messenger.h libceph: use "do" in CRC-related Boolean variables 2012-03-22 10:47:51 -05:00
mon_client.h
msgpool.h
msgr.h
osd_client.h libceph: Allocate larger oid buffer in request msgs 2011-11-11 09:50:19 -08:00
osdmap.h ceph: drop support for preferred_osd pgs 2012-05-07 15:33:36 -07:00
pagelist.h
rados.h ceph: update common header files 2011-03-21 12:24:21 -07:00
types.h