We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault for MQTT over TLS/TCP if SslOptions are unset.
Memory safety guarantees. No invalid access.
use paho_mqtt::async_client::AsyncClient; use paho_mqtt::ssl_options; #[tokio::main] async fn main() { let client = paho_mqtt::CreateOptionsBuilder::new().finalize(); let client = AsyncClient::new(client).unwrap(); #[allow(unused)] let ssl_options = ssl_options::SslOptionsBuilder::new().finalize(); let connect = paho_mqtt::ConnectOptionsBuilder::new() .server_uris(&["mqtts://test.mosquitto.org:8883"]) //.ssl_options(ssl_options) .finalize(); client.connect(connect).await.unwrap(); }
paho-mqtt-segfault-no-ssl-options.zip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behavior
Segfault for MQTT over TLS/TCP if SslOptions are unset.
Expected behavior
Memory safety guarantees. No invalid access.
Sample code
paho-mqtt-segfault-no-ssl-options.zip
The text was updated successfully, but these errors were encountered: