Bug 7232 - nslookup: Segmentation fault if system has no IPV6
Summary: nslookup: Segmentation fault if system has no IPV6
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.22.x
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-27 14:17 UTC by Joe Xue
Modified: 2014-08-10 03:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
PATCH for this bug (954 bytes, patch)
2014-06-27 14:17 UTC, Joe Xue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Xue 2014-06-27 14:17:45 UTC
Created attachment 5462 [details]
PATCH for this bug

If the system has no IPV6 and meanwhile the DNS server is not available or no service. nslookup has segmentation fault.

How to test: set DNS server to a ip address which is not actually a DNS server.
Comment 1 Mike Frysinger 2014-08-10 03:49:42 UTC
what C library are you using ?  i wonder if this is a bug in glibc itself ... there's been a few fixed for the 2.20 release like:
https://sourceware.org/bugzilla/show_bug.cgi?id=17125