Noticed while running a client program that invoked aws_channel_setup_client_tls and subsequently had heap corruption errors. When running with ENABLE_SANITIZERS=ON, it produced a report that the negotiation_task was only being allocated with 64 bytes where as aws_channel_task_init called AWS_ZERO_STRUCT where it was trying to set 104 bytes to 0, thus over-running the original memory region.
Noticed while running a client program that invoked
aws_channel_setup_client_tls
and subsequently had heap corruption errors. When running withENABLE_SANITIZERS=ON
, it produced a report that thenegotiation_task
was only being allocated with 64 bytes where asaws_channel_task_init
calledAWS_ZERO_STRUCT
where it was trying to set 104 bytes to 0, thus over-running the original memory region.