From 9550d6cebc12913c5e7df0ff874adebc827c70c9 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 25 Jun 2018 16:09:55 +0200 Subject: Fix null pointer dereference Patch has been received by e-mail, Signed-off-by: Arnaud Fontaine --- android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java | 1 - 1 file changed, 1 deletion(-) (limited to 'android/olm-sdk/src/main/java') diff --git a/android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java b/android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java index f5173c3..8c2d7b0 100644 --- a/android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java +++ b/android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java @@ -302,7 +302,6 @@ public class OlmInboundGroupSession extends CommonSerializeUtils implements Seri // sanity check if(null == aErrorMsg) { Log.e(LOG_TAG,"## serialize(): invalid parameter - aErrorMsg=null"); - aErrorMsg.append("aErrorMsg=null"); } else if (null == aKey) { aErrorMsg.append("Invalid input parameters in serialize()"); } else { -- cgit v1.2.3