Skip to content

Commit 01fcacf

Browse files
committed
CLEANUP: quic: remove a useless CRYPTO frame variable assignment
This modification should have arrived with this commit: MINOR: quic: remove ->offset qf_crypto struct field Since this commit, the CRYPTO offset node key assignment is done at parsing time when calling qc_parse_frm() from qc_parse_pkt_frms(). This useless assigment has been reported in GH #3095 by coverity. This patch should be easily backported as far as 2.6 as the one mentioned above to ease any further backport to come.
1 parent 7228583 commit 01fcacf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/quic_conn.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3326,7 +3326,6 @@ static int qc_parse_pkt_frms(struct quic_conn *qc, struct quic_rx_packet *pkt,
33263326
break;
33273327
}
33283328
case QUIC_FT_CRYPTO:
3329-
frm->crypto.offset_node.key = frm->crypto.offset_node.key;
33303329
eb64_insert(&cf_frms_tree, &frm->crypto.offset_node);
33313330
frm = NULL;
33323331
break;

0 commit comments

Comments
 (0)