unittest: fix ATCmdParser test segfault

pull/12254/head
Maciej Bocianski 2020-01-14 13:15:50 +01:00
parent dbb0695311
commit 455b846bc1
1 changed files with 2 additions and 2 deletions

View File

@ -189,8 +189,8 @@ TEST_F(test_ATCmdParser, test_ATCmdParser_read)
filehandle_stub_table_pos = 0;
ATCmdParser at(&fh1, ",");
char buf[6];
memset(buf, 0, 6);
char buf[8];
memset(buf, 0, 8);
// TEST EMPTY BUFFER
// Shouldn't read any byte since buffer is empty