mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +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",
|
"id %" PRIu32 ". Ensure the client is properly synchronized",
|
||||||
channel->id, (unsigned)channel->rpc.client_type, p->request_id);
|
channel->id, (unsigned)channel->rpc.client_type, p->request_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