Merge pull request #367 from xy420513/master

Fix: 字符数组expect_str越界
This commit is contained in:
Supowang 2023-04-23 15:27:35 +08:00 committed by GitHub
commit 4e17ab6399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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[10];
char expect_str[24];
if (tos_at_global_lock_pend() != 0) {
return -1;