mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(clang): null pointer dereference in parse_msgpack #25389
This commit is contained in:
parent
26d6f03023
commit
bfdec5b0e7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user