changes on Group.getMembers() can accidentally trigger group composition changes
--------------------------------------------------------------------------------

         Key: HEDERA-25
         URL: https://forge.continuent.org/jira/browse/HEDERA-25
     Project: Hedera
        Type: Bug
    Versions:  Hedera 1.5.4    
    Reporter: Jeff Mesnil
 Assigned to: Damian Arregui 


The method Group.getMembers() returns the direct List of group's members.
Anybody can call this method and then add/remove Member, thus inadvertentely 
changing the group composition
by other means that the expected Group.addMember()/removeMember()
(fiy, I encountered this bug while I wanted to send a message to all members 
but the local one)

A fix would be to return an unmodifiable list instead of the real one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera

Reply via email to