vlibapi: validate private segment rotor prior to use 99/14299/2
authorFlorin Coras <fcoras@cisco.com>
Thu, 16 Aug 2018 22:45:34 +0000 (15:45 -0700)
committerDave Barach <openvpp@barachs.net>
Fri, 17 Aug 2018 14:47:24 +0000 (14:47 +0000)
commitec54e11a8426f4104261da579b5b9ae6fbc506f4
treea26a22b528e5519a360da75ed9903fe14f7c1379
parent60f1fc1c17f4e15b8a64ad0b0626e88603790eb7
vlibapi: validate private segment rotor prior to use

If the dead client scan removes the rotor position we're about to check
next, we end up outside the private registration pool's bounds.

Change-Id: If4e715593deeac4c06ae6b3fededc1965b042094
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vlibmemory/vlib_api.c