Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quic: Fix potential pointer alignmnet issue in adjustNewConnectionIdF…
…orRouting (envoyproxy#30670) Casting old_connection_id_ptr to a uint32_t is not safe because there is no guarantee that old_connection_id_ptr is 32 bit aligned. Instead, just call memcpy() explicitly with the size of 4. Risk Level: Low Testing: Existing Docs Changes: N/A Release Notes: N/A Platform Specific Features: N/A Signed-off-by: Ryan Hamilton <[email protected]>
- Loading branch information