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 #47, init data passed as const input #77

Merged
merged 1 commit into from
Dec 8, 2021
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: 3 additions & 1 deletion unit-test/cf_cfdp_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -8424,6 +8424,8 @@ void Test_CF_CFDP_CopyDataToLv_FailsBecause_len_IsGreaterThan_sizeof_dest_lv_dat
uint32 arg_len = Any_uint32_GreaterThan(sizeof(arg_dest_lv->data));
int local_result;

memset(arg_data, 0xEE, sizeof(arg_data));

/* Act */
local_result = CF_CFDP_CopyDataToLv(arg_dest_lv, arg_data, arg_len);

Expand All @@ -8441,7 +8443,7 @@ void Test_CF_CFDP_CopyDataToLv_FailsBecause_len_IsEqTo_sizeof_dest_lv_data_Retur
uint32 arg_len = sizeof(arg_dest_lv->data);
int local_result;

// AnyBufferOf_uint8_WithSize(arg_data, arg_len);
memset(arg_data, 0xEE, sizeof(arg_data));

/* Act */
local_result = CF_CFDP_CopyDataToLv(arg_dest_lv, arg_data, arg_len);
Expand Down