Bug 59 - NSD returns FORMERR when the query name is >= 246 bytes (this applies to at least version 1.0.2 through 1.2.0, but likely to all versions).
NSD returns FORMERR when the query name is >= 246 bytes (this applies to at l...
Status: CLOSED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
1.2.0
All All
: P2 normal
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-17 10:43 CEST by Erik Rozendaal
Modified: 2003-10-30 16:06 CET (History)
0 users

See Also:


Attachments
patch for length checking of query name in query.c (644 bytes, patch)
2003-07-17 10:48 CEST, Erik Rozendaal
Details | Diff
patch for 1.0.2, 1.0.3, and 1.1.0. (739 bytes, patch)
2003-07-17 12:21 CEST, Erik Rozendaal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Rozendaal 2003-07-17 10:43:38 CEST
$ dig +norec -t a
123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.1234567890.jp
@k.root-servers.net

; <<>> DiG 9.2.2 <<>> +norec -t a
123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.1234567890.jp
@k.root-servers.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 41
;; flags: qr; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; Query time: 370 msec
;; SERVER: 193.0.14.129#53(k.root-servers.net)
;; WHEN: Thu Jul 17 09:53:05 2003
;; MSG SIZE  rcvd: 12
Comment 1 Erik Rozendaal 2003-07-17 10:48:28 CEST
Created attachment 12 [details]
patch for length checking of query name in query.c
Comment 2 Erik Rozendaal 2003-07-17 12:21:59 CEST
Created attachment 13 [details]
patch for 1.0.2, 1.0.3, and 1.1.0.
Comment 3 Erik Rozendaal 2003-07-17 12:22:43 CEST
Fixed bug for NSD 1.2 branch.  Will be merged into main trunk later.