You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/09/26 07:32:33 UTC

[jira] [Created] (OAK-2142) Possibility of numeric overflow in blobCacheSize in DocumentMK

Chetan Mehrotra created OAK-2142:
------------------------------------

             Summary: Possibility of numeric overflow in blobCacheSize in DocumentMK
                 Key: OAK-2142
                 URL: https://issues.apache.org/jira/browse/OAK-2142
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mongomk
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.1, 1.0.7


Following expression in DocumentMk would cause a numeric overflow if {{blobCacheSizeMB}} >= 2048

{code}
 if (this.blobStore == null) {
                    this.blobStore = new MongoBlobStore(db, blobCacheSizeMB * 1024 * 1024);
                }

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)