From: Vsevolod Stakhov Date: Mon, 19 Dec 2016 21:23:28 +0000 (+0000) Subject: [Minor] Disable zero-copy mode for b64 ops as it is broken X-Git-Tag: 1.5.0~545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f426c42cc9f0d5b0f5b41ef96ee2e0275649888;p=thirdparty%2Frspamd.git [Minor] Disable zero-copy mode for b64 ops as it is broken --- diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 3a12731c58..aa92fe0b4b 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; - } } }