|
@@ -1115,7 +1115,8 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep,
|
|
|
return sctp_sf_pdiscard(ep, asoc, type, arg, commands);
|
|
|
|
|
|
/* Make sure that the HEARTBEAT-ACK chunk has a valid length. */
|
|
|
- if (!sctp_chunk_length_valid(chunk, sizeof(sctp_heartbeat_chunk_t)))
|
|
|
+ if (!sctp_chunk_length_valid(chunk, sizeof(sctp_chunkhdr_t) +
|
|
|
+ sizeof(sctp_sender_hb_info_t)))
|
|
|
return sctp_sf_violation_chunklen(ep, asoc, type, arg,
|
|
|
commands);
|
|
|
|