- Oct 26, 2022
-
-
Vladimir Davydov authored
0xc1 isn't a valid MsgPack header, but it was allowed by mp_check. As a result, msgpack.decode crashed while trying to decode it. This commit updates the msgpuck library to fix this issue. Closes #7818 NO_DOC=bug fix (cherry picked from commit ced405af)
-
- May 31, 2022
-
-
Serge Petrenko authored
Introduce helpers for each of our custom extension types. The helpers will be used by mp_check() to validate extension contents and make sure no malformed data is accepted by tarantool. Closes #6857 NO_DOC=no user visible changes (cherry picked from commit 5b47124a)
-
- Feb 17, 2022
-
-
Yan Shtunder authored
Msgpuck is a submodule for tarantool and is needed while packaging. Moved function of mp_encode_str0() from mp_error.cc into a common place is msgpuck.h. Needed for packaging workflow in tarantool/tarantool: tarantool/tarantool#6260 NO_DOC=no visible changes NO_CHANGELOG=no visible changes
-
- May 21, 2020
-
-
Vladislav Shpilevoy authored
In the new version an API is added to be able to customize MP_EXT serializer for mp_snprint() and mp_fprint() functions. Part of #4719 Reviewed-by:
Cyrill Gorcunov <gorcunov@gmail.com> Reviewed-by:
Serge Petrenko <sergepetrenko@tarantool.org> Reviewed-by:
Nikita Pettik <korablev@tarantool.org> Reviewed-by:
Alexander Turenko <alexander.turenko@tarantool.org>
-
- Jun 21, 2019
-
-
Serge Petrenko authored
The ability to encode/decode ext types is added to msgpuck. These types will be used for decimal encoding/decoding in tarantool. Needed for #692
-
- Feb 04, 2019
-
-
Kirill Shcherbatov authored
The msgpack dependency has been updated because the new version introduces the new mp_stack class which we will use to parse tuple without recursion when initializing the field map. Needed for #1012
-
- Jun 23, 2017
-
-
Roman Tsisyk authored
Malformed MessagePack can cause `int k` counter overflow inside mp_check()/mp_next(). See https://github.com/tarantool/nginx_upstream_module/issues/79 See https://github.com/rtsisyk/msgpuck/issues/16 Closes #2540
-
- Feb 07, 2017
-
-
Roman Tsisyk authored
See #1874
-
- Jan 27, 2017
-
-
Vladimir Davydov authored
Add helpers to decode numbers and use them throughout the code.
-
- Dec 22, 2016
-
-
Konstantin Osipov authored
* make fiber.test.lua stable * make snapshot.test.lua stable * return consistent error code (SystemError) from unrecoverable xlog errors
-
- Dec 15, 2016
-
-
Roman Tsisyk authored
Fixes TALOS-2016-0254 Fixes CVE-2016-9036 Fixes #1991
-
- Oct 14, 2016
-
-
Vladimir Davydov authored
Add mp_snprint() for debug output
-
- Sep 28, 2016
-
-
Roman Tsisyk authored
Fix compilation warnings
-
- Jun 17, 2016
-
-
Roman Tsisyk authored
- Fix code style - Remove useless tnt_raise() from tuple_compare_field() - Use mp_decode_strbinl() for bin/str comparison
-
- May 12, 2016
-
-
Roman Tsisyk authored
-
- Jan 18, 2016
-
-
Georgy Kirichenko authored
-
- Sep 16, 2015
-
-
Roman Tsisyk authored
-
- Aug 24, 2015
-
-
Sulverus authored
* msgpack encoding with lua c api(call, insert, eval, ping) * remove extra hash lookup in net.box * review fixes for netbox-write * rewrite all encoding fucntions using Lua/C * replace channels with fiber.sleep()/fiber.wakeup() * review fixes (remove an unnecessary include)
-
- Jan 30, 2014
-
-
Konstantin Osipov authored
Remove fiob_open_flags, use "mode" consistently.
-
- Jan 21, 2014
-
-
Konstantin Osipov authored
-
- Dec 25, 2013
-
-
Dmitry E. Oboukhov authored
-
- Dec 03, 2013
-
-
Roman Tsisyk authored
-
- Nov 13, 2013
-
-
Roman Tsisyk authored
This commit completely changes the data format used by Tarantool. A new binary serialization format called MsgPack (http://msgpack.org) has been introduced to store tuples, keys, request members, etc. MsgPack supports various data types and hierarchical structures. Since tuple & keys format has been changed, the binary protocol is no more compatible with 1.5 clients. The list of major changes: * Add MsgPack library and unit tests as a submodule * Add Lua bindings for the library and unit tests for it * Update IPROTO to use MsgPack for all kinds of requests * Change struct tuple to use MsgPack Array instead of BER-encoded fields * Remove fixed offsets from tuples (cannot be supported by MsgPack) * Replace const char *key, key_part pairs with MsgPack Arrays * Rework comparators and indicies to support MsgPack'ed fields * Merge NUM and NUM64 types into the one single type (NUM) * Rewrite box_lua.cc functions to support MsgPack instead of BER * Rewrite tuple_update to support MsgPack instead of BER * Totaly remove varint32 functions from all modules * Rework lua_tofield and YAML encoder to properly support Lua tables * Modifie bootstrap files and system spaces to use the new format * Add MsgPack support to the test system via msgpack-python * Update tests to use proper data types and remove unneeded box.packs Tarantool 1.6 is the world's first MsgPack-based database!
-