[ 
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)

Reply via email to