aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/sparse_vec_test.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2021-05-27 17:43:34 +0200
committerDamjan Marion <dmarion@me.com>2021-08-20 11:23:40 +0000
commit1a19552eee24e447e6087de43a2eeb9250b8cae7 (patch)
treede9591a29c1977066274dd1799dfd6ae6dba169a /src/plugins/unittest/sparse_vec_test.c
parent4e3af51a66384295eec5b1cf980ef4d88b949e1d (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/sparse_vec_test.c')
0 files changed, 0 insertions, 0 deletions