Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2142

Possibility of numeric overflow in blobCacheSize in DocumentMK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.7, 1.1.0
    • mongomk
    • None

    Description

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

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

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: