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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Apr 4 18:06:41 MSK 2021


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

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

-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list