Fix: 字符数组str越界

This commit is contained in:
Stwsyburg
2023-04-20 11:36:46 +08:00
committed by GitHub
parent d3bc75eae6
commit c47b3dbbdb

View File

@@ -82,7 +82,7 @@ void mqtt_demo_task(void)
device_info_t dev_info;
memset(&dev_info, 0, sizeof(device_info_t));
char str[16];
char str[30];
size_t mail_size;
uint8_t report_error_count = 0;
char client_token[10];