Ticket #178 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Parser error on empty multipart TXT records

Reported by: anon Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

The DNS parser barfs when it encounters a multipart txt records where one or more part is empty, ie:

example.com. IN TXT "foobar" ""

pdns will log this error:

Feb 19 13:08:33 machine pdns_recursor[5465]: DNS parser error: example.com., Error parsing packet of 210 bytes (rd=0), out of bounds: vector::_M_range_check

Attached patch should fix this bug.

Attachments

empty-multi-txt.patch (0.8 kB) - added by anon on 02/19/08 14:16:39.

Change History

02/19/08 14:16:39 changed by anon

  • attachment empty-multi-txt.patch added.

03/22/08 17:03:30 changed by ahu

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in commit 1166, thanks