api: check id is valid for bounce checking 77/28477/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 21 Jan 2020 17:33:14 +0000 (18:33 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 18 Aug 2020 19:47:21 +0000 (19:47 +0000)
commit6ed81620909387c7a55dbe03b152a75fdc219a64
tree6d184a34be80d664fe77da207edd2ca5c3b67f8e
parent7f0abd5bd5a202f7511463042819d6559659db79
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>
(cherry picked from commit ff13e46215ab96df988310b4a20eddefad92de99)
src/vlibapi/api_shared.c