[Tarantool-patches] [PATCH 0/2] Swim misusage crashes

Serge Petrenko sergepetrenko at tarantool.org
Mon Apr 5 12:05:55 MSK 2021



04.04.2021 18:06, Vladislav Shpilevoy пишет:
> The patchset fixes 2 crashes happened when SWIM API was misused.
>
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/swim-misusage-crashes-5951-5952
> Issue: https://github.com/tarantool/tarantool/issues/5951
> Issue: https://github.com/tarantool/tarantool/issues/5952

Hi! Thanks for the patches! LGTM.

> Vladislav Shpilevoy (2):
>    swim: fix crash on bad member_by_uuid() call
>    swim: check types in __serialize methods
>
>   .../unreleased/swim-member_by_uuid-crash.md   |   4 +
>   changelogs/unreleased/swim-serialize-crash.md |   4 +
>   src/lib/swim/swim.c                           |   2 +
>   src/lua/swim.lua                              |  41 +++++--
>   test/swim/gh-5952-swim-serialize.result       | 101 ++++++++++++++++++
>   test/swim/gh-5952-swim-serialize.test.lua     |  33 ++++++
>   test/swim/swim.result                         |   9 ++
>   test/swim/swim.test.lua                       |   3 +
>   test/unit/swim.c                              |  23 +++-
>   test/unit/swim.result                         |   9 +-
>   10 files changed, 217 insertions(+), 12 deletions(-)
>   create mode 100644 changelogs/unreleased/swim-member_by_uuid-crash.md
>   create mode 100644 changelogs/unreleased/swim-serialize-crash.md
>   create mode 100644 test/swim/gh-5952-swim-serialize.result
>   create mode 100644 test/swim/gh-5952-swim-serialize.test.lua
>

-- 
Serge Petrenko



More information about the Tarantool-patches mailing list