Skip to content

Fix #76, warnings on strncpy#77

Merged
astrogeco merged 1 commit intonasa:integration-candidatefrom
jphickey:fix-76-stringops
May 8, 2020
Merged

Fix #76, warnings on strncpy#77
astrogeco merged 1 commit intonasa:integration-candidatefrom
jphickey:fix-76-stringops

Conversation

@jphickey
Copy link
Contributor

Describe the contribution
Fix possible non-truncated string in option parsing.
This generated a warning in GCC9.

Fixes #76

Testing performed
Build code with default config, SIMULATION=native BUILDTYPE=release on GCC 9.3.0.
Confirm successful build with no warning.

Expected behavior changes
No impact to behavior

System(s) tested on
Ubuntu 20.04 LTS 64 bit

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Fix possible nontruncated string in option parsing.
This generated a warning in GCC9.
@jphickey jphickey added bug Something isn't working CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 27, 2020
@astrogeco
Copy link
Contributor

CCB 2020-04-29 : APPROVED

@astrogeco astrogeco added CCB-20200429 CCB:Approved Indicates approval by CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels May 5, 2020
@astrogeco astrogeco changed the base branch from master to integration-candidate May 8, 2020 19:21
@astrogeco astrogeco merged commit c513574 into nasa:integration-candidate May 8, 2020
@skliper skliper added this to the 2.2.0 milestone Jun 1, 2020
@jphickey jphickey deleted the fix-76-stringops branch October 6, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CCB:Approved Indicates approval by CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

String truncation warnings with newer GCC

3 participants