View Issue Details

IDProjectCategoryView StatusLast Update
0003870GNUnetbuild processpublic2018-06-06 22:25
Reporterluigi Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version0.10.1 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003870: Use of deprecated gethostbyname() function
DescriptionNot sure how severe in this case, but rpmlint reports it, so I turn it over to you:

gnunet.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/lib64/gnunet/libexec/gnunet-service-resolver
gnunet.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/lib64/libgnunetutil.so.12.0.0
The binary calls gethostbyname(). Please port the code to use getaddrinfo().

Also see https://udrepper.livejournal.com/16116.html .
TagsNo tags attached.

Activities

Christian Grothoff

2015-06-29 08:01

manager   ~0009364

There were a few (largely irrelevant, testcase-related or conditionally-used) instances of where gethostbyname() might be used. As of SVN 36020, they are now really only used if getaddrinfo() is not available (and the code is otherwise not even compiled).

Issue History

Date ModifiedUsernameFieldChange
2015-06-28 17:47luigiNew Issue
2015-06-29 07:34Christian GrothoffAssigned To => Christian Grothoff
2015-06-29 07:34Christian GrothoffStatusnew => assigned
2015-06-29 07:34Christian GrothoffTarget Version => 0.11.0pre66
2015-06-29 08:01Christian GrothoffNote Added: 0009364
2015-06-29 08:01Christian GrothoffStatusassigned => resolved
2015-06-29 08:01Christian GrothoffFixed in Version => 0.11.0pre66
2015-06-29 08:01Christian GrothoffResolutionopen => fixed
2018-06-06 22:25Christian GrothoffStatusresolved => closed