[
https://issues.apache.org/jira/browse/MINIFI-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882954#comment-15882954
]
ASF subversion and git services commented on MINIFI-201:
--------------------------------------------------------
Commit 7d3e0441342825255781d1800c0178046f34254f in nifi-minifi-cpp's branch
refs/heads/master from Marc Parisi
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=7d3e044 ]
MINIFI-206: Implement Extensible Comm Mechanism
Create initial communication mechanism that's
initially based on BSD sockets.
MINIFI-201: Change how hostname is resolved
and ensure that it is not null
MINIFI-199: Utilize zlib's crc32 implementation,
which is more portable and faster. we can explore
alternatives when that time arrives.
MINIFI-200: Put host "get" into initialization.
Any change wouldn't be picked up by a running process
most likely.
This closes #54.
Signed-off-by: Aldrin Piri <[email protected]>
> 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)