Files
kernel_arpi/include/linux
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
..
2012-05-07 15:39:35 -07:00
2012-01-22 15:08:43 -05:00
2012-02-20 19:46:36 +11:00
2012-01-12 20:13:04 -08:00
2012-01-12 20:13:08 -08:00
2012-01-17 15:40:51 -08:00
2012-01-12 20:13:10 -08:00
2012-01-12 15:23:04 -08:00
2012-03-05 15:49:42 -08:00
2012-02-28 15:06:33 -05:00
2012-01-24 12:25:14 -08:00