diff options
author | Dave Barach <dave@barachs.net> | 2023-01-12 16:07:26 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-01-12 23:03:22 +0000 |
commit | 809eb669c7a353cd06da58ccdf8578053b1233ca (patch) | |
tree | 4fcf4884aeedc116a40a622a27d616fb9681134b /src/tools | |
parent | dcca9e75a17aca6fd83586a4de66fed65ec5d11b (diff) |
vppinfra: fix longstanding corner case bug in serialize_get()
serialize_get() -> serialize_write_not_inline(...) was losing track of
the current buffer index when it managed to empty the overflow vector
but had to turn around and use it again.
Test-case added to test_serialize.c.
This issue dates from 2010.
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I024a03f7a50fd6df543ddbc7c45d85def4f1981d
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions