aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlibapi/api_shared.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-02-09 21:49:06 +0100
committerDave Wallace <dwallacelf@gmail.com>2017-02-14 06:43:46 +0000
commit0b49e2beee343b7f78aea69c64fc919ad0ac397c (patch)
treea3268c9d3c3d0e0af05de6fdb4393093124a7d8d /src/vlibapi/api_shared.c
parent3495cb6dd21511e9e5018bbd235ba49ca67710c9 (diff)
vhost-user: fix crash when descriptor points to unknown region
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>
Diffstat (limited to 'src/vlibapi/api_shared.c')
0 files changed, 0 insertions, 0 deletions