diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 13:30:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 13:30:24 +0100 |
commit | 92a1f7a412f35354e3e471aadeeba537b18ab45e (patch) | |
tree | 673f5af2b5cafbc4a3325282882c8bc6c192502b /contrib/fpconv | |
parent | e9555957fd913d928c6dc4b6ca8373f2c4691848 (diff) | |
download | rspamd-92a1f7a412f35354e3e471aadeeba537b18ab45e.tar.gz rspamd-92a1f7a412f35354e3e471aadeeba537b18ab45e.zip |
[Fix] Fix buffer overflow when printing small floats
Diffstat (limited to 'contrib/fpconv')
-rw-r--r-- | contrib/fpconv/fpconv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fpconv/fpconv.h b/contrib/fpconv/fpconv.h index 83180d41f..0bc270b31 100644 --- a/contrib/fpconv/fpconv.h +++ b/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 |