Fix:字符数组越界

This commit is contained in:
xy420513
2023-04-21 11:01:11 +08:00
committed by GitHub
parent 698ebf8a61
commit e73aff466a

View File

@@ -386,7 +386,7 @@ static int air724_recv(int id, void *buf, size_t len)
int air724_send(int id, const void *buf, size_t len)
{
at_echo_t echo;
char expect_str[30];
char expect_str[24];
if (tos_at_global_lock_pend() != 0) {
return -1;