api: check id is valid for bounce checking 71/24471/4
authorBenoît Ganne <bganne@cisco.com>
Tue, 21 Jan 2020 17:33:14 +0000 (18:33 +0100)
committerDave Barach <openvpp@barachs.net>
Mon, 15 Jun 2020 19:04:25 +0000 (19:04 +0000)
commitff13e46215ab96df988310b4a20eddefad92de99
tree29c13c3db019ac9ad2d9041352b453ccccbbe62a
parent810ad343de3bc2680f8f8be67027f87da196f5d1
api: check id is valid for bounce checking

If the id is invalid we cannot check whether we must free the message or
not, free it anyway.

Type: fix

Change-Id: Ie4426f601390d1e5e14c739f670e8c1e6e3aaf1e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vlibapi/api_shared.c