From: Arran Cudbard-Bell Date: Wed, 18 Jun 2014 11:06:03 +0000 (+0100) Subject: Have a suspicion that enabling null context tracking causes talloc functions to SEGV... X-Git-Tag: release_3_0_4_rc2~275 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=60a654745c862aae8a52f76f0ce0bf76c72066ae;p=freeradius.git Have a suspicion that enabling null context tracking causes talloc functions to SEGV if you pass NULL context pointers --- diff --git a/src/lib/debug.c b/src/lib/debug.c index 33c1d10..f261a49 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -606,7 +606,7 @@ int fr_log_talloc_report(TALLOC_CTX *ctx) if (!ctx) { fprintf(log, "Current state of talloced memory:\n"); - talloc_report_full(NULL, log); + talloc_report_full(talloc_null_ctx, log); } else do { fprintf(log, "Talloc context level %i:\n", i++); talloc_report_full(ctx, log);