Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28149

UserManager doesn't check result of getGroup before attempting to return members.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Security

      Description

      org.nuxeo.ecm.platform.usermanager.UserManagerImpl#getGroup(String,DocumentModel) either returns a group or null value. When called from getGroupsInGroup(String,DocumentModel) (line 1481), the reference is not checked against null before calling getMemberGroups(). This causes an untrapped NullPointerException.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbrown Damon Brown
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: