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