]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vhost: detect 32 bit integer wrap around
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Aug 2016 20:20:53 +0000 (23:20 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 2 Aug 2016 13:54:28 +0000 (16:54 +0300)
commitec33d031a14b3c5dd516627139c9550350dbba3e
tree7f8913c2a0b5524836f31385f0a879e1ec6ed7ce
parent6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c
vhost: detect 32 bit integer wrap around

Detect and fail early if long wrap around is triggered.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c