diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-21 09:32:19 +0200 | 
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-02-21 09:32:19 +0200 | 
| commit | 3f60db4bde17088feed5f143582d7661cdbb9a01 (patch) | |
| tree | 21a7866ae6d199cfa8f619ced9500687bdf84f18 /lib/mpi/mpih-div.c | |
| parent | 5e36097889725dbe4f098c3f1e93cb2f21cae6ee (diff) | |
| parent | b01543dfe67bb1d191998e90d20534dc354de059 (diff) | |
Merge commit 'v3.3-rc4'
Diffstat (limited to 'lib/mpi/mpih-div.c')
| -rw-r--r-- | lib/mpi/mpih-div.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lib/mpi/mpih-div.c b/lib/mpi/mpih-div.c index 87ede162dfa..cde1aaec18d 100644 --- a/lib/mpi/mpih-div.c +++ b/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: | 
