BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000473 [uClibc] Networking Support major always 10-05-05 15:38 06-03-08 12:05
Reporter csapuntz View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.28
Summary 0000473: DNS sluggish on queries of names ending with '.'
Description Great work on uClibc! Here's a small issue I ran into:

The DNS resolver generates invalid requests when lookups of names ending with
'.' are made and searchdomains are present.

What happens. Say we look up foo.com. and searchdomains is localdomain.

First the resolver tries:
foo.com. AAAA is looked up ---> no record found

Then it tries:
foo.com..localdomain AAAA --> notice the two dots

At this point an invalid packet is generated and BIND drops it and the resolver pauses waiting for a response.

There are two bugs here: appending a search path to a DNS name ending in '.' and trying to DNS encode a name with an empty component.

The patch attached fixes both bugs.
Additional Information
Attached Files  resolv.c.diff [^] (771 bytes) 10-05-05 15:38

- Relationships

- Notes
(0008094)
vda
06-03-08 12:05

fixed in rev 22206. Thanks!
 

- Issue History
Date Modified Username Field Change
10-05-05 15:38 csapuntz New Issue
10-05-05 15:38 csapuntz Status new => assigned
10-05-05 15:38 csapuntz Assigned To  => uClibc
10-05-05 15:38 csapuntz File Added: resolv.c.diff
10-05-05 15:39 csapuntz Issue Monitored: csapuntz
06-03-08 12:05 vda Status assigned => closed
06-03-08 12:05 vda Note Added: 0008094
06-03-08 12:05 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker