$ ./target/server
usage: ./target/server cert.pem key.pem
Listen on port 8443 with the given cert and key.
Segmentation fault (core dumped)
This was because the cleanup label skipped over the initialisation of certified_key, meaning the pointer was uninitialised during rustls_certified_key_free.
This was because the
cleanup
label skipped over the initialisation ofcertified_key
, meaning the pointer was uninitialised duringrustls_certified_key_free
.