Commit 683dc443 authored by Aurelio Colosimo's avatar Aurelio Colosimo

state-common-fun: handle uncorrect length in follow up message

parent 3c5a85c9
...@@ -225,6 +225,9 @@ int st_com_slave_handle_followup(unsigned char *buf, int len, ...@@ -225,6 +225,9 @@ int st_com_slave_handle_followup(unsigned char *buf, int len,
MsgHeader *hdr = &ppi->msg_tmp_header; MsgHeader *hdr = &ppi->msg_tmp_header;
if (len < PP_FOLLOW_UP_LENGTH)
return -1;
if (!ppi->is_from_cur_par) { if (!ppi->is_from_cur_par) {
/* FIXME diag /* FIXME diag
DBGV("SequenceID doesn't match with " DBGV("SequenceID doesn't match with "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment