Merge pull request #364 from Stwsyburg/master

[HUST CSE] Fix: 字符数组str越界
This commit is contained in:
Supowang
2023-04-20 16:59:53 +08:00
committed by GitHub

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];