From b2009005df13088ba64939b05aeed1594bf75b8c Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 4 Jun 2020 14:07:43 +0200 Subject: [PATCH] Fix runtime critical in entity capabilities hashing --- xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala index 36f80ed5..a30b8961 100644 --- a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala +++ b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala @@ -110,7 +110,7 @@ namespace Xmpp.Xep.EntityCapabilities { Gee.List values = field.get_values(); values.sort(); foreach (string value in values) { - sb.append(sanitize(value)) + sb.append(sanitize(value ?? "")) .append("<"); } }