ip: reassembly: avoid corruption in vnet buffer 29/22929/2
authorKlement Sekera <ksekera@cisco.com>
Tue, 22 Oct 2019 12:16:07 +0000 (12:16 +0000)
committerOle Trøan <otroan@employees.org>
Tue, 22 Oct 2019 13:55:21 +0000 (13:55 +0000)
commitc9b2cfca9a9259477fdebb9b3321b3d8a329dd94
tree61d56c4d19004fa556c752c2e177e9cd39832af1
parentbb098f176433d435471161f8be297d43b3558f4f
ip: reassembly: avoid corruption in vnet buffer

Avoid corrupt next_index in vnet_buffer by moving input and output
variables into different memory places instead of sharing a common
space.

Type: fix
Fixes: de34c35fc73226943538149fae9dbc5cfbdc6e75

Change-Id: I34471fc6d0c8487535fac21349e688f398934f6d
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/vnet/buffer.h