Bug 190296 - telnet should not use gethostbyname
telnet should not use gethostbyname
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: telnet (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-30 13:33 EDT by Ulrich Drepper
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-09 03:26:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Replace last two gethostbyname uses (1.49 KB, patch)
2006-04-30 13:33 EDT, Ulrich Drepper
no flags Details | Diff

  None (edit)
Description Ulrich Drepper 2006-04-30 13:33:59 EDT
Description of problem:
telnet still uses gethostbyname.  This can cause problems in IPv6 environments,
in part due to the way gethostbyname etc are implemented.

Version-Release number of selected component (if applicable):
0.17-35.2.1

How reproducible:
always

Steps to Reproduce:
1.nm -D --undef /usr/bin/telnet | fgrep gethostbyname
2.
3.
  
Actual results:
                 U gethostbyname


Expected results:
No output

Additional info:
The attached mostly untested patch should fix it.  For real IPv6 support a lot
more work is needed.
Comment 1 Ulrich Drepper 2006-04-30 13:33:59 EDT
Created attachment 128417 [details]
Replace last two gethostbyname uses

Note You need to log in before you can comment on or make changes to this bug.