Skip to content

Commit

Permalink
Merge pull request OpenAtomFoundation#367 from xy420513/master
Browse files Browse the repository at this point in the history
Fix: 字符数组expect_str越界
  • Loading branch information
Supowang1989 authored Apr 23, 2023
2 parents 0cef33e + e73aff4 commit 4e17ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/air724/air724.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4e17ab6

Please sign in to comment.