Skip to content

Commit

Permalink
increase in field size reveals a bug that was previously hidden by 16…
Browse files Browse the repository at this point in the history
…-bit truncation
  • Loading branch information
kazuho committed Jan 22, 2025
1 parent a35cc66 commit 4199947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/quicly.c
Original file line number Diff line number Diff line change
Expand Up @@ -5801,7 +5801,7 @@ quicly_error_t initiate_close(quicly_conn_t *conn, quicly_error_t err, uint64_t
quic_error_code = QUICLY_ERROR_GET_ERROR_CODE(err);
frame_type = UINT64_MAX;
} else if (PTLS_ERROR_GET_CLASS(err) == PTLS_ERROR_CLASS_SELF_ALERT) {
quic_error_code = QUICLY_TRANSPORT_ERROR_CRYPTO(PTLS_ERROR_TO_ALERT(err));
quic_error_code = QUICLY_ERROR_GET_ERROR_CODE(QUICLY_TRANSPORT_ERROR_CRYPTO(PTLS_ERROR_TO_ALERT(err)));
} else {
quic_error_code = QUICLY_ERROR_GET_ERROR_CODE(QUICLY_TRANSPORT_ERROR_INTERNAL);
}
Expand Down

0 comments on commit 4199947

Please sign in to comment.