Skip to content

Commit

Permalink
Merge pull request nasa#84 from jphickey/fix-54-buffer-size
Browse files Browse the repository at this point in the history
Fix nasa#54, pass actual size of buffer
  • Loading branch information
astrogeco authored Dec 8, 2021
2 parents 0402e7b + 95fac79 commit 8c97bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-test/cf_cfdp_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1903,7 +1903,7 @@ void Test_CF_strnlen_When_end_IsNot_NULL_ReturnLengthOfGiven_s(void)
{
/* Arrange */
const char arg_s[7] = "NO NULL";
size_t arg_maxlen = 8; /* 256 is arbitrary and used for small size */
size_t arg_maxlen = 7; /* 256 is arbitrary and used for small size */
size_t expected_length = 7;
size_t local_result;

Expand Down

0 comments on commit 8c97bd4

Please sign in to comment.