diff options
author | fiaxh <git@lightrise.org> | 2020-06-04 14:07:43 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-06-04 14:08:41 +0200 |
commit | e3724f96edc60f69e8cca05cadba3a15a53febb1 (patch) | |
tree | 03cd8eceae6b4555a66e2b67f494e5ce2e38f24c /xmpp-vala | |
parent | cdc505f550242801ef53894f21e2dfa1a263be48 (diff) | |
download | dino-e3724f96edc60f69e8cca05cadba3a15a53febb1.tar.gz dino-e3724f96edc60f69e8cca05cadba3a15a53febb1.zip |
Fix runtime critical in entity capabilities hashing
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala index 4f2dadfb..be7db509 100644 --- a/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala +++ b/xmpp-vala/src/module/xep/0115_entitiy_capabilities.vala @@ -147,7 +147,7 @@ namespace Xmpp.Xep.EntityCapabilities { Gee.List<string> values = field.get_values(); values.sort(); foreach (string value in values) { - sb.append(sanitize(value)) + sb.append(sanitize(value ?? "")) .append("<"); } } |