Commit 6c7f722d authored by Mark Andrews's avatar Mark Andrews

2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496]

parent 2b0addd3
2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496]
2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sdb.c,v 1.59 2007/08/27 03:32:27 marka Exp $ */
/* $Id: sdb.c,v 1.60 2008/01/16 21:44:41 marka Exp $ */
/*! \file */
......@@ -380,7 +380,7 @@ dns_sdb_putrr(dns_sdblookup_t *lookup, const char *type, dns_ttl_t ttl,
datalen = strlen(data);
size = initial_size(datalen);
for (;;) {
do {
isc_buffer_init(&b, data, datalen);
isc_buffer_add(&b, datalen);
result = isc_lex_openbuffer(lex, &b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment