From 482df9e1114e21e2011ecb5c68e2840409302798 Mon Sep 17 00:00:00 2001 From: Dmitry Kasatkin Date: Thu, 26 Jan 2012 19:13:20 +0200 Subject: [PATCH] --- yaml --- r: 287116 b: refs/heads/master c: a6d68ecc56ed182644c81ef6917ce1f5404db7dd h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/mpi/mpih-div.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2f34d78bbb28..5f9c6ee0eff1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4877e056192245b387aae004ab38f7f3899dd57c +refs/heads/master: a6d68ecc56ed182644c81ef6917ce1f5404db7dd diff --git a/trunk/lib/mpi/mpih-div.c b/trunk/lib/mpi/mpih-div.c index 87ede162dfab..cde1aaec18da 100644 --- a/trunk/lib/mpi/mpih-div.c +++ b/trunk/lib/mpi/mpih-div.c @@ -217,6 +217,10 @@ mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, case 0: /* We are asked to divide by zero, so go ahead and do it! (To make the compiler not remove this statement, return the value.) */ + /* + * existing clients of this function have been modified + * not to call it with dsize == 0, so this should not happen + */ return 1 / dsize; case 1: