vhost-user: fix crash when descriptor points to unknown region 94/5094/4
authorDamjan Marion <damarion@cisco.com>
Thu, 9 Feb 2017 20:49:06 +0000 (21:49 +0100)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 14 Feb 2017 06:43:46 +0000 (06:43 +0000)
This happens only on when compiled for older microarchitectures,
where BSF insutruction is used instead of TZCNT. BSF provides
undefined result if operand is 0.

Change-Id: I7a13350786a533428168595097ef01a560fde53b
Signed-off-by: Damjan Marion <damarion@cisco.com>

No differences found