Skip to content

Commit

Permalink
Merge pull request #535 from jphickey/fix-534-buffer-size-warning
Browse files Browse the repository at this point in the history
Fix #534, adjust UT assert buffer sizes
  • Loading branch information
astrogeco authored Jul 8, 2020
2 parents e52abb8 + 2ad28d0 commit 9eaf83b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ UT Hook functions now have the capability to get argument values by name, which

- Minor updates (see <https://github.com/nasa/osal/pull/264>)

### **_OFFICIAL RELEASE: 5.0.0_**
### **_OFFICIAL RELEASE: 5.0.0 - Aquila_**

- Changes are detailed in [cFS repo](https://github.com/nasa/cFS) release 6.7.0 documentation
- Released under the Apache 2.0 license
Expand Down
4 changes: 2 additions & 2 deletions ut_assert/src/utassert.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
UtAssert_CaseType_t DefaultContext = UTASSERT_CASETYPE_FAILURE;
UtAssert_TestCounter_t UT_SegmentCounters = { 0 };
UtAssert_TestCounter_t UT_TotalCounters = { 0 };
static char CurrentSegment[128];
static char CurrentSegment[64];

/*
* Function Definitions
Expand Down Expand Up @@ -76,7 +76,7 @@ void UtAssert_DoReport(const char *File, uint32 LineNum, uint32 SegmentNum, uint

void UtAssert_DoTestSegmentReport(const char *SegmentName, const UtAssert_TestCounter_t *TestCounters)
{
char ReportBuffer[128];
char ReportBuffer[144];

snprintf(ReportBuffer, sizeof(ReportBuffer),
"%02u %-20s TOTAL::%-4u PASS::%-4u FAIL::%-4u MIR::%-4u TSF::%-4u N/A::%-4u\n",
Expand Down

0 comments on commit 9eaf83b

Please sign in to comment.