[ 
https://issues.apache.org/jira/browse/GEODE-9405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371527#comment-17371527
 ] 

ASF GitHub Bot commented on GEODE-9405:
---------------------------------------

mmartell opened a new pull request #826:
URL: https://github.com/apache/geode-native/pull/826


   Some of the legacy C++ tests use strncpy. This causes warnings in gcc when 
the length parameter depends on the length of the source parameter. To avoid 
such warnings, which we treat as errors, we can use memcpy in the test code 
where we know there is no buffer overrun issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Build fails on rhel-8 release
> -----------------------------
>
>                 Key: GEODE-9405
>                 URL: https://issues.apache.org/jira/browse/GEODE-9405
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Michael Martell
>            Priority: Major
>
> Looks like a recent gcc compiler change on rhel-8 is causing build failures 
> in the CI.
> Looks to be related to unsafe use of strncpy in a few of our legacy C++ tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to