diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-05-27 17:43:34 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-08-20 11:23:40 +0000 |
commit | 1a19552eee24e447e6087de43a2eeb9250b8cae7 (patch) | |
tree | de9591a29c1977066274dd1799dfd6ae6dba169a /src/plugins/unittest/pool_test.c | |
parent | 4e3af51a66384295eec5b1cf980ef4d88b949e1d (diff) |
buffers: fix buffer linearization
vlib_buffer_chain_linearize() truncates partial data in chained buffers
in corner cases when current_data is negative.
Strengthen test cases to reproduce the errors and fix it.
Type: fix
Change-Id: Ida621923711c5755508224bdc3842b31003c6c0b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/unittest/pool_test.c')
0 files changed, 0 insertions, 0 deletions