~mcf/dnssec-rr

6d7cc6542dc1cc3a0ef69c4235b2409dc3dfaf7a — Michael Forney 2 years ago f991af6
Fix TXT record length calculation
1 files changed, 1 insertions(+), 1 deletions(-)

M zone.c
M zone.c => zone.c +1 -1
@@ 562,7 562,7 @@ again:
				goto err;
			if (ret == 0)
				break;
			len += p->tmp[len] + 1;
			len += ((unsigned char *)p->tmp)[len] + 1;
		}
		if (!(rr = rr_new(len))) {
			parse_error(p, NULL, "%s", strerror(errno));