Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 131170 - libnss_wins.so crashes elinks if used before DNS in host resolution
libnss_wins.so crashes elinks if used before DNS in host resolution
Product: Fedora
Classification: Fedora
Component: elinks (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2004-08-28 01:11 EDT by Dan Egli
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 0.9.2-0.rc4.3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-13 13:14:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dan Egli 2004-08-28 01:11:37 EDT
Description of problem:
when using Samba dns module to resolve dns names via smb, elinks will
not locate any domain, and always dumps to screen. I cannot copy/paste
but an approximation is:

ap, Mimetypes files), Bookmarks, Cookies, Forms History, Global
History, URI rewrite

/lib/libnss_wins.so.2[init_                    4e]

and so on. I would prefer to not type the whole thing.

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

How reproducible:
Always. Gaurenteed

Steps to Reproduce:
1. modify the hosts line of /etc/nsswitch.conf to have wins BEFORE dns
2. run Elinks
3. Watch the crash
Actual results:

Screen as shown above.

Expected results:

Should work.

Additional info:
Comment 1 Karel Zak 2004-09-13 10:56:49 EDT
This is already know "bug":

elinks and samba define same function name "convert_string()", but
each does something other... and if elinks calls getaddrinfo() it
loads libnss_wins.so with this function into elinks and it crash.

Solutions: never use and export common names in samba, elinks and all
others projects!
Comment 2 Tim Waugh 2004-09-13 13:14:15 EDT
Thanks for the pointer.  Patch included in 0.9.2-0.rc4.3.

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