aboutsummaryrefslogtreecommitdiff
path: root/mfd/bi_dns.m4
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-06-30 00:29:30 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-06-30 00:29:30 +0300
commit5be37dcba1950fe6d917c18c9bd1983cb0f17185 (patch)
tree1c0e4dca3c07e51fec05fbbd5079a0450d5c3709 /mfd/bi_dns.m4
parent6dcecd5893d71dfcda15228f8b17dc26d775f0e8 (diff)
downloadmailfromd-5be37dcba1950fe6d917c18c9bd1983cb0f17185.tar.gz
mailfromd-5be37dcba1950fe6d917c18c9bd1983cb0f17185.tar.bz2
Bugfix.
* mfd/bi_dns.m4 (dns_getname): Missed call to MF_OBSTACK_BEGIN. * mfd/prog.c (runtime_stack_trace): Prevent coredump on arriving to pc == 0.
Diffstat (limited to 'mfd/bi_dns.m4')
-rw-r--r--mfd/bi_dns.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/mfd/bi_dns.m4 b/mfd/bi_dns.m4
index a3a6ef13..6d071e7e 100644
--- a/mfd/bi_dns.m4
+++ b/mfd/bi_dns.m4
@@ -131,6 +131,7 @@ MF_DEFUN(dns_getname, STRING, STRING ipstr)
qsort(names, ncount, sizeof names[0], hostname_cmp);
+ MF_OBSTACK_BEGIN();
for (i = 0; i < ncount; i++) {
if (i > 0)
MF_OBSTACK_1GROW(' ');

Return to:

Send suggestions and report system problems to the System administrator.