From 1f426c42cc9f0d5b0f5b41ef96ee2e0275649888 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 19 Dec 2016 21:23:28 +0000 Subject: [PATCH] [Minor] Disable zero-copy mode for b64 ops as it is broken --- src/lua/lua_util.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 3a12731c5..aa92fe0b4 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -688,12 +688,6 @@ lua_util_decode_base64 (lua_State *L) if (t != NULL) { s = t->start; inlen = t->len; - - if (t->flags & RSPAMD_TEXT_FLAG_OWN) { - t->flags = 0; - grab_own = TRUE; - zero_copy = TRUE; - } } } -- 2.39.5