firedancer-io / firedancer

Firedancer is Jump Crypto's Solana validator software.
https://firedancer.io
Other
921 stars 166 forks source link

quic - changed fd_quic_conn_id_rand to clear whole structure #2293

Closed nbridge-jump closed 3 months ago

nbridge-jump commented 3 months ago

Padding is included in the hash. In the past the padding had been forced to zero. This allows a multiple of 8 to be used for all the operations.

A change introduced code that did not clear the pad, resulting in hash mismatches.

This fix clears the whole structure, including the padding