lua-cmsgpack icon indicating copy to clipboard operation
lua-cmsgpack copied to clipboard

A self contained Lua MessagePack C implementation.

Results 33 lua-cmsgpack issues
Sort by recently updated
recently updated
newest added

I've made a fuzzer for lua: https://github.com/stevenjohnstone/afl-lua. I was trying it out on known vulnerabilities and verified that it could detect the issues flagged in CVE-2018-11218 with 0.4.0-0. I then...

These are permanent redirects

``` local cmsgpack = require("cmsgpack") local function to_readonly_table(input_table) if input_table == nil then return nil end assert(type(input_table) == 'table') local travelled_tables = {} local function __read_only(tbl) if not travelled_tables[tbl] then...

I noticed mp_buf_append and mp_buf_new are not sanitizing the result to [mp_realloc](https://github.com/antirez/lua-cmsgpack/blob/master/lua_cmsgpack.c#L122). The Lua documentation states that when the pointer is non-null is must behave like realloc (and in the...

I want to store some lua table data in a file. I use cmsgpack.pack(table) to convert it into a binary string, and then write it into the file. But I...

Any chance of adding hooks to support [extension types](https://github.com/msgpack/msgpack/blob/master/spec.md#types-extension-type)? This would basically require an API where callers could specify two callback functions one for encoding and one for decoding. Then...

With the current instructions, luarocks will fail to install the github version instead falling back to 0.4.0-0 which is vulnerable to CVE-2018-11218.

int table_is_an_array(lua_State *L) { int count = 0, max = 0; #if LUA_VERSION_NUM < 503 lua_Number n; #else lua_Integer n; #endif /* Stack top on function entry */ int stacktop;...

local data = msgpack:pack(xxxxx) ====== transfer the data to a goalng server, then can i use the golang server to unpack the data?