vcl: fix use-after-free 47/26647/3
authorBenoît Ganne <bganne@cisco.com>
Wed, 22 Apr 2020 17:14:03 +0000 (19:14 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 22 Apr 2020 18:42:52 +0000 (18:42 +0000)
commit38ab5672b599df8ef201ca6733c9b008c37fdfa3
tree1feac124ab2088cee7a76b5e49e6f16529d62829
parenta04adbf5368f9ec907508ff36d42fbd72d287120
vcl: fix use-after-free

Make sure we disconnect from vlib prior to free-ing the last worker, as
we'll need to access it.

Type: fix

Change-Id: Id5bdd17f0f5efa1ce52021b4270eb4f1e95cc61d
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vcl/vppcom.c