From 741efa167449cfbaef2998df1eb087c5e09333f9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 2 Jan 2008 23:08:04 +0000 Subject: [PATCH] don't leave 'round pointers to buffers on the stack --- servers/slapd/back-bdb/modify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index f20812ac0f..5a4fbbf641 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -719,5 +719,8 @@ done: slap_sl_free( (*postread_ctrl)->ldctl_value.bv_val, op->o_tmpmemctx ); slap_sl_free( *postread_ctrl, op->o_tmpmemctx ); } + + rs->sr_text = NULL; + return rs->sr_err; } -- 2.39.5