You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/08 22:37:04 UTC
[jira] [Commented] (COUCHDB-2742) div by zero in
couch_mrview_compactor
[ https://issues.apache.org/jira/browse/COUCHDB-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619312#comment-14619312 ]
ASF GitHub Bot commented on COUCHDB-2742:
-----------------------------------------
GitHub user rnewson opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/21
Protect against div by zero
COUCHDB-2742
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-mrview 2742-div-zero
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/21.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21
----
commit b743459e4c3fd7a84d9605ffce652777162b8eb9
Author: Robert Newson <rn...@apache.org>
Date: 2015-07-08T20:33:17Z
Protect against div by zero
COUCHDB-2742
----
> div by zero in couch_mrview_compactor
> -------------------------------------
>
> Key: COUCHDB-2742
> URL: https://issues.apache.org/jira/browse/COUCHDB-2742
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Robert Newson
>
> We don't ensure Total is not zero, leading to potential div by zero.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)