Qingpeng Du
Qingpeng Du
### Issue Description SmartDNS crashes due to misaligned memory access in `fast_ping.c`. #### System Information - **SmartDNS Version**: clone and built on 20240717 with master branch #### Steps to Reproduce...
Version: 28f9147 **Description:** The function ASN1_STRING_get0_data() can return NULL, so NULL checks are needed in: mqtt_protocol/mosquitto/src/handle_connect.c line 806 and mqtt_protocol/mosquitto/src/security_default.c line 1205 When X509_STORE_CTX_get_ex_data() returns NULL, the runtime ASAN Log...
Version: 28f9147 **Description:** The function X509_STORE_CTX_get_ex_data() can return NULL, so a NULL check is needed at line 57 in mqtt_protocol/mosquitto/lib/tls_mosq.c. When X509_STORE_CTX_get_ex_data() returns NULL, the runtime ASAN Log shows: ```...