Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-91-buffer-overflow-unit-test #92

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions unit-test/cs_compute_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ void CS_RecomputeAppChildTask_Test_Nominal(void)
void CS_RecomputeAppChildTask_Test_CouldNotGetAddress(void)
{
CS_Res_App_Table_Entry_t RecomputeAppEntry;
CS_Def_App_Table_Entry_t DefAppTbl[10];
CS_Def_App_Table_Entry_t DefAppTbl[CS_MAX_NUM_APP_TABLE_ENTRIES];

memset(&RecomputeAppEntry, 0, sizeof(RecomputeAppEntry));
memset(&DefAppTbl, 0, sizeof(DefAppTbl));
Expand Down Expand Up @@ -1637,7 +1637,7 @@ void CS_RecomputeTablesChildTask_Test_Nominal(void)
void CS_RecomputeTablesChildTask_Test_CouldNotGetAddress(void)
{
CS_Res_Tables_Table_Entry_t RecomputeTablesEntry;
CS_Def_Tables_Table_Entry_t DefTablesTbl[10];
CS_Def_Tables_Table_Entry_t DefTablesTbl[CS_MAX_NUM_APP_TABLE_ENTRIES];

memset(&RecomputeTablesEntry, 0, sizeof(RecomputeTablesEntry));
memset(&DefTablesTbl, 0, sizeof(DefTablesTbl));
Expand Down
Loading