QUIC: handle retransmissions and overlapping fragments in reassembler (#1195) (#1498)

* QUIC: handle retransmissions and overlapping fragments in reassembler

* Trigger CI

* minor fix: parentheses

* Changing ndpi_malloc to ndpi_calloc

* fix memory leak

* quic_reasm_buf calloc to malloc

* change order of is_ch_complete && is_reasm_buf_complete call

* is_reasm_buf_complete: added handling for case where frame size is not multiple of 8

* add extra check
This commit is contained in:
Vinicius Silva Nogueira
2022-04-07 21:18:58 +02:00
committed by GitHub
parent 9537788ade
commit 713cdd0b13
3 changed files with 55 additions and 18 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ struct ndpi_flow_udp_struct {
/* NDPI_PROTOCOL_QUIC */
u_int8_t *quic_reasm_buf;
u_int32_t quic_reasm_buf_len;
u_int8_t *quic_reasm_buf_bitmap;
u_int32_t quic_reasm_buf_last_pos;
/* NDPI_PROTOCOL_CSGO */