GNS3 / iouyap

Bridge IOU to UDP, TAP and Ethernet.
GNU General Public License v3.0
24 stars 12 forks source link

deprecate usage of gethostbyname() #1

Open anubisg1 opened 10 years ago

anubisg1 commented 10 years ago

[ 63s] iouyap.i586: I: binary-or-shlib-calls-gethostbyname /usr/bin/iouyap [ 63s] The binary calls gethostbyname(). Please ask the developers to port the code to use getaddrinfo().

something like this should work:

https://github.com/LaurentGomila/SFML/commit/34d866d4bc647b31678169da4b1a2f0891e0e176

anubisg1 commented 10 years ago

@grossmj sorry to ping you directly, but i believe this should be fixed and nobody wrote anything at all since may 16th when this was reported.

grossmj commented 10 years ago

@anubisg1

No worries, why is this so important to you?

anubisg1 commented 10 years ago

Because i am pushing the new gns3 on the official openSUSE repositories. At the moment iouyap is not being accepted (under security audit review) because of this and the worries about "setcap cap_net_admin,cap_net_raw=ep"

grossmj commented 10 years ago

Ok, I understand now :)

Regarding the setcap command, just let me know. We may just remove it from the Makefile if really needed.

anubisg1 commented 10 years ago

well, i don't really know why is there honestly so i can't tell if is good to remove or not.

this is the audit for setcap, i need to find the one gethostbyname.

https://bugzilla.opensuse.org/show_bug.cgi?id=904060

thanks