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 "Antonio Sanso (JIRA)" <ji...@apache.org> on 2015/01/29 13:27:34 UTC

[jira] [Updated] (OAK-2465) Long overflow in PermissionEntryProviderImpl

     [ https://issues.apache.org/jira/browse/OAK-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated OAK-2465:
-------------------------------
    Attachment: OAK-2465-patch.txt

attach test case and proposed patch

> Long overflow in PermissionEntryProviderImpl
> --------------------------------------------
>
>                 Key: OAK-2465
>                 URL: https://issues.apache.org/jira/browse/OAK-2465
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Antonio Sanso
>         Attachments: OAK-2465-patch.txt
>
>
> 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



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