Bug 7232

Summary: nslookup: Segmentation fault if system has no IPV6
Product: Busybox Reporter: Joe Xue <lgxue>
Component: NetworkingAssignee: unassigned
Status: NEW ---    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: 1.22.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: PATCH for 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