[Tarantool-patches] [PATCH 0/2] JSON field multikey crash
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed Aug 5 02:45:17 MSK 2020
The patchset fixes 2 crashes related to multikey in JSON path
tuple field access code.
Also during working on this I found
https://github.com/tarantool/tarantool/issues/5226, but couldn't
find a simple solution.
Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5224-tuple-field-by-path-crash
Issue: https://github.com/tarantool/tarantool/issues/5224
@ChangeLog
* Fixed a crash when JSON tuple field access was used to get a multikey indexed field, and when a JSON contained [*] in the beginning;
Vladislav Shpilevoy (2):
tuple: fix multikey field JSON access crash
tuple: fix access by JSON path starting from '[*]'
src/box/tuple.c | 3 +-
src/box/tuple.h | 8 +
test/box/gh-5224-multikey-field-access.result | 164 ++++++++++++++++++
.../gh-5224-multikey-field-access.test.lua | 72 ++++++++
4 files changed, 246 insertions(+), 1 deletion(-)
create mode 100644 test/box/gh-5224-multikey-field-access.result
create mode 100644 test/box/gh-5224-multikey-field-access.test.lua
--
2.21.1 (Apple Git-122.3)
More information about the Tarantool-patches
mailing list