Commit c00ed285 authored by vsevolod's avatar vsevolod
Browse files

- Update to 1.9.2 [1]

- Add patch to fix buffer overflow

PR:		237323i [1]
Submitted by:	Alexander Moisseev <moiseev at mezonplus.ru> [1]
parent cef60275
# $FreeBSD$
PORTNAME= rspamd
PORTVERSION= 1.9.1
PORTVERSION= 1.9.2
CATEGORIES= mail
MAINTAINER= vsevolod@FreeBSD.org
......
TIMESTAMP = 1554790118
SHA256 (rspamd-rspamd-1.9.1_GH0.tar.gz) = a4509294ca565e0a86424ae67ab49f282349b5fa3bfc9aeb16c1c03cbe422aa5
SIZE (rspamd-rspamd-1.9.1_GH0.tar.gz) = 4442437
TIMESTAMP = 1555481471
SHA256 (rspamd-rspamd-1.9.2_GH0.tar.gz) = 69a39cb83a4d28da2fc2fc2dc7c8e07435557e50e19cfdf73bd1ebd964da80f9
SIZE (rspamd-rspamd-1.9.2_GH0.tar.gz) = 4461173
diff --git a/contrib/fpconv/fpconv.h b/contrib/fpconv/fpconv.h
index 83180d41f..0bc270b31 100644
--- contrib/fpconv/fpconv.h
+++ contrib/fpconv/fpconv.h
@@ -26,7 +26,7 @@
*
*/
-int fpconv_dtoa(double fp, char dest[24], bool scientific);
+int fpconv_dtoa(double fp, char dest[32], bool scientific);
#endif
diff --git a/src/libutil/printf.c b/src/libutil/printf.c
index 84dd5d272..6739fe142 100644
--- src/libutil/printf.c
+++ src/libutil/printf.c
@@ -591,7 +591,7 @@ rspamd_vprintf_common (rspamd_printf_append_func func,
const gchar *fmt,
va_list args)
{
- gchar zero, numbuf[G_ASCII_DTOSTR_BUF_SIZE], dtoabuf[24], *p, *last, c;
+ gchar zero, numbuf[G_ASCII_DTOSTR_BUF_SIZE], dtoabuf[32], *p, *last, c;
const gchar *buf_start = fmt, *fmt_start = NULL;
gint d;
gdouble f;
......@@ -154,6 +154,7 @@ man/man8/rspamd.8.gz
%%DATADIR%%/lualib/argparse.lua
%%DATADIR%%/lualib/fun.lua
%%DATADIR%%/lualib/global_functions.lua
%%DATADIR%%/lualib/lpegre.lua
%%DATADIR%%/lualib/lua_auth_results.lua
%%DATADIR%%/lualib/lua_cfg_transform.lua
%%DATADIR%%/lualib/lua_clickhouse.lua
......@@ -161,7 +162,9 @@ man/man8/rspamd.8.gz
%%DATADIR%%/lualib/lua_ffi/common.lua
%%DATADIR%%/lualib/lua_ffi/dkim.lua
%%DATADIR%%/lualib/lua_ffi/init.lua
%%DATADIR%%/lualib/lua_ffi/spf.lua
%%DATADIR%%/lualib/lua_fuzzy.lua
%%DATADIR%%/lualib/lua_ical.lua
%%DATADIR%%/lualib/lua_maps.lua
%%DATADIR%%/lualib/lua_meta.lua
%%DATADIR%%/lualib/lua_nn.lua
......@@ -191,6 +194,7 @@ man/man8/rspamd.8.gz
%%DATADIR%%/lualib/rspamadm/configwizard.lua
%%DATADIR%%/lualib/rspamadm/cookie.lua
%%DATADIR%%/lualib/rspamadm/corpus_test.lua
%%DATADIR%%/lualib/rspamadm/dns_tool.lua
%%DATADIR%%/lualib/rspamadm/fuzzy_convert.lua
%%DATADIR%%/lualib/rspamadm/fuzzy_stat.lua
%%DATADIR%%/lualib/rspamadm/grep.lua
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment