From: | ray@isc.org |
To: | bind9-public@isc.org |
Subject: | Crash if dst_lib_init() is called more than once |
Date: | Wed, 05 Jul 2017 10:03:55 +0000 |
In dig for iOS I want to be able to invoke the dig "main" function multiple times so that I can improve its error handling.
However, when I try, I get a segfault in line 181 of lib/dns/dst_api.c, which calls:
isc_mem_setdestroycheck(dst__memory_pool, ISC_FALSE);
I've attached a standalone test program to reproduce this fault (the config.h therein is from my macOS build).
Subject: | libbind_dstcrash_test.tgz |
Message body not shown because it is not plain text.