summaryrefslogtreecommitdiff
path: root/tests/tsum.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-04-10 09:17:51 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-04-10 09:17:51 +0000
commit5bc73a9532b0b015feccf72456dc638a3a556c2b (patch)
tree55714439b4f49da9f036655cb4ef2da8c44993f4 /tests/tsum.c
parentd414944a33e192345ddec976a410d02176358ce6 (diff)
downloadmpfr-5bc73a9532b0b015feccf72456dc638a3a556c2b.tar.gz
[tests/tsum.c] Added a comment about the latest fixed bug.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9372 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsum.c')
-rw-r--r--tests/tsum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tsum.c b/tests/tsum.c
index b7e711bf0..cd7ef2a7a 100644
--- a/tests/tsum.c
+++ b/tests/tsum.c
@@ -138,6 +138,10 @@ generic_tests (void)
/* glibc free() error or segmentation fault when configured
* with GMP 6.0.0 built with "--disable-alloca ABI=32".
* GCC's address sanitizer shows a heap-buffer-overflow.
+ * Fixed in r9369 (before the merge into the trunk). The problem was due
+ * to the fact that mpn functions do not accept a zero size argument, and
+ * since mpn_add_1 is here a macro in GMP, there's no assertion even when
+ * GMP was built with assertion checking (--enable-assert).
*/
static
void check_simple (void)