mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
fix(clang): null pointer dereference in parse_msgpack
This commit is contained in:
@@ -337,6 +337,7 @@ static void parse_msgpack(Channel *channel)
|
|||||||
"id. Ensure the client is properly synchronized",
|
"id. Ensure the client is properly synchronized",
|
||||||
channel->id);
|
channel->id);
|
||||||
chan_close_with_error(channel, buf, LOGLVL_ERR);
|
chan_close_with_error(channel, buf, LOGLVL_ERR);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
frame->returned = true;
|
frame->returned = true;
|
||||||
frame->errored = (p->error.type != kObjectTypeNil);
|
frame->errored = (p->error.type != kObjectTypeNil);
|
||||||
|
Reference in New Issue
Block a user