mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00

When converting a msgpack object to a String object, strings (and byte arrays) with length 0 are handled as errors. This is fixed by always using the msgpack data pointer as a valid pointer. For a NULL pointer there is nothing to copy. Test by @snoe Fixes #3844