marco polo created MINIFI-201:
---------------------------------
Summary: 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: 0.1.0
Environment: MacOSX, Linux
Reporter: marco polo
Priority: Blocker
Fix For: 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)