tcp: fix use-after-free 48/26648/3
authorBenoît Ganne <bganne@cisco.com>
Wed, 22 Apr 2020 17:15:49 +0000 (19:15 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 22 Apr 2020 18:42:39 +0000 (18:42 +0000)
commita04adbf5368f9ec907508ff36d42fbd72d287120
tree3766c65acc7191d79321510323f29d69125f224a
parent6e0ee95df5d2e216ce7824eeb1fbb79656d73368
tcp: fix use-after-free

bts can be freed by the call to bt_fix_overlapped(). Save flags for
later use.

Type: fix

Change-Id: If8b48c96ce39e38f2ed7f4db2815122523eb2e05
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/tcp/tcp_bt.c