+3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
+ too long. [RT #26956]
+
3252. [bug] When master zones using inline-signing were
updated while the server was offline, the source
zone could fall out of sync with the signed
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: rdata.c,v 1.214 2011/11/02 01:01:52 marka Exp $ */
+/* $Id: rdata.c,v 1.215 2011/12/22 07:41:29 marka Exp $ */
/*! \file */
}
escape = ISC_FALSE;
if (nrem == 0)
- return (ISC_R_NOSPACE);
+ return ((tregion.length <= 256U) ?
+ ISC_R_NOSPACE : DNS_R_SYNTAX);
*t++ = c;
nrem--;
}