nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marco polo (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (MINIFI-201) gethostbyname_r return should be checked
Date Tue, 14 Feb 2017 12:30:42 GMT

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

Mime
View raw message