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

Long overflow in PermissionEntryProviderImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.6
    • core, mongomk
    • None

    Description

      PermissionEntryProviderImpl#init can end up in a Long overflow if the underlying implementation does not know the exact value of the number children, and the child node count is higher than maxSize.

      I will attach a patch with a test case

      Attachments

        1. OAK-2465-patch-3.txt
          12 kB
          Antonio Sanso
        2. OAK-2465_2.patch
          11 kB
          Angela Schreiber
        3. OAK-2465-patch.txt
          5 kB
          Antonio Sanso

        Activity

          People

            angela Angela Schreiber
            asanso Antonio Sanso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: