commit | 9fd0e57dc9d5601d5d62366639e593b9bd1d0b24 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri May 08 14:47:24 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri May 08 16:04:20 2009 -0500 |
tree | 9b8897d9ec516a25cfc8215194dc878c9b9c13e2 | |
parent | 2fd0f9328634d0b156add2b4d7c10f7c193d2e20 [diff] |
Improve block range checks This patch makes the range checks for block requests more strict: It fixes a potential integer overflow and checks for negative offsets. Also, it adds the check for compressed writes. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>