From a6bc6b51378857dddefebedbdced57896f47198a Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 29 Jun 2015 10:19:42 +0000 Subject: [PATCH] - Fix alloc with log for allocation size checks. git-svn-id: file:///svn/unbound/trunk@3442 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure | 4 ++-- configure.ac | 3 ++- doc/Changelog | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 630d6e450..a4c011df4 100755 --- a/configure +++ b/configure @@ -18150,6 +18150,8 @@ esac fi +LIBOBJ_WITHOUT_CTIMEARC4="$LIBOBJS" + ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray" if test "x$ac_cv_func_reallocarray" = xyes; then : $as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h @@ -18164,8 +18166,6 @@ esac fi -LIBOBJ_WITHOUT_CTIMEARC4="$LIBOBJS" - if test "$USE_NSS" = "no"; then ac_fn_c_check_func "$LINENO" "arc4random" "ac_cv_func_arc4random" if test "x$ac_cv_func_arc4random" = xyes; then : diff --git a/configure.ac b/configure.ac index de809afdd..00145cf76 100644 --- a/configure.ac +++ b/configure.ac @@ -998,9 +998,10 @@ AC_REPLACE_FUNCS(strlcat) AC_REPLACE_FUNCS(strlcpy) AC_REPLACE_FUNCS(memmove) AC_REPLACE_FUNCS(gmtime_r) -AC_REPLACE_FUNCS(reallocarray) +dnl without CTIME, ARC4-functions and without reallocarray. LIBOBJ_WITHOUT_CTIMEARC4="$LIBOBJS" AC_SUBST(LIBOBJ_WITHOUT_CTIMEARC4) +AC_REPLACE_FUNCS(reallocarray) if test "$USE_NSS" = "no"; then AC_REPLACE_FUNCS(arc4random) AC_REPLACE_FUNCS(arc4random_uniform) diff --git a/doc/Changelog b/doc/Changelog index 68433d211..525bb365e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 29 June 2015: Wouter - iana portlist update. + - Fix alloc with log for allocation size checks. 26 June 2015: Wouter - Fix #677 Fix DNAME responses from cache that failed internal chain -- 2.47.2