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:38:33 UTC
[jira] [Resolved] (OAK-2142) Possibility of numeric overflow in
blobCacheSize in DocumentMK
[ https://issues.apache.org/jira/browse/OAK-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2142.
----------------------------------
Resolution: Fixed
Fixed in
* trunk - http://svn.apache.org/r1627715
* 1.0 - http://svn.apache.org/r1627716
> 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)