[
https://issues.apache.org/jira/browse/MINIFI-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
marco polo reassigned MINIFI-201:
---------------------------------
Assignee: marco polo
> gethostbyname_r return should be checked
> ----------------------------------------
>
> Key: MINIFI-201
> URL: https://issues.apache.org/jira/browse/MINIFI-201
> Project: Apache NiFi MiNiFi
> Issue Type: Improvement
> Components: C++
> Affects Versions: cpp-0.1.0
> Environment: MacOSX, Linux
> Reporter: marco polo
> Assignee: marco polo
> Priority: Blocker
> Fix For: cpp-0.2.0
>
>
> In every case where gethostbyname_r is used ( S2S, real time data collector )
> I've been able to cause a segfault by simply specifying a hostname that isn't
> resolvable ( through DNS or /etc/hosts ). We should check the return and
> handle this gracefully.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)