aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-29 08:19:48 -0500
committerJames McCoy <jamessan@jamessan.com>2016-11-29 08:19:48 -0500
commitb37d0624590feab84dada09526e041471b092acb (patch)
tree218970a6c0c77b72f15ccc88cd2f7072ed2a9c94 /test
parent9e56278d0b2882657dc6614197e1cf6aad7bc08f (diff)
downloadrneovim-b37d0624590feab84dada09526e041471b092acb.tar.gz
rneovim-b37d0624590feab84dada09526e041471b092acb.tar.bz2
rneovim-b37d0624590feab84dada09526e041471b092acb.zip
msgpack_rpc: Allocate empty string in msgpack_rpc_to_object
STR_CASE previously used a NULL data pointer for the String object, but this pushes the NULL checks to the rest of the code. Instead, allocating an empty string solves the same issue of there not being any data but ensures that we're not passing NULL to functions that don't expect it. Closes #5627
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions