mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 03:11:10 +01:00
Protect against unknown GV2 UUIDs.
This commit is contained in:
committed by
Greyson Parrelli
parent
981676c7f8
commit
ec8d5defd4
@@ -36,7 +36,13 @@ public final class ProfileKeySet {
|
||||
@Nullable UUID changeSource)
|
||||
{
|
||||
for (DecryptedMember member : group.getMembersList()) {
|
||||
UUID memberUuid = UuidUtil.fromByteString(member.getUuid());
|
||||
UUID memberUuid = UuidUtil.fromByteString(member.getUuid());
|
||||
|
||||
if (UuidUtil.UNKNOWN_UUID.equals(memberUuid)) {
|
||||
Log.w(TAG, "Seen unknown member UUID");
|
||||
continue;
|
||||
}
|
||||
|
||||
ProfileKey profileKey;
|
||||
try {
|
||||
profileKey = new ProfileKey(member.getProfileKey().toByteArray());
|
||||
|
||||
Reference in New Issue
Block a user