Re: [Bind-dlz-testers] BIND-DLZ cache corruption issue.
Brought to you by:
crodster
From: Graeme F. <gr...@gr...> - 2010-10-01 08:45:30
|
On Thu, 2010-09-30 at 20:46 -0700, Michael J. Ayers wrote: > This particular issue is cannot be replicated with a flat text zone > file. That issue was fixed with I believe the 9.5 release. BIND now > properly throws an error when it encounters a TXT record that is > longer than 255 bytes in length or is not properly closed in > quotations. So... Set the database schema such that TXT records have a maximum length of 253 - char(253) in SQL parlance - and then ensure that the query BIND makes through the DLZ driver has escaped quotes at either end. That assumes that the quotes are included in the character string length as defined in the RFC for TXT records (1034 or 1035 IIRC). That way you eliminate the possibility of corrupt data as described. It may still be possible to malform the data, but not in the way you describe. Graeme |