You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/01 23:20:05 UTC
[jira] [Commented] (MINIFI-330) Avoid downcasting host name
[ https://issues.apache.org/jira/browse/MINIFI-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033894#comment-16033894 ]
ASF GitHub Bot commented on MINIFI-330:
---------------------------------------
Github user phrocker closed the pull request at:
https://github.com/apache/nifi-minifi-cpp/pull/109
> Avoid downcasting host name
> ---------------------------
>
> Key: MINIFI-330
> URL: https://issues.apache.org/jira/browse/MINIFI-330
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Reporter: marco polo
> Assignee: marco polo
> Priority: Critical
>
> We've been storing the host name and storing it as a const char *; however, it appears when doing so we're storing the pointer instead of copying/moving it resulting it changes to the null terminator. If we use a string we avoid this issue entirely.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)