aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorBenoit Marty <benoit.marty@gmail.com>2018-06-25 16:09:55 +0200
committerHubert Chathi <hubert@uhoreg.ca>2018-06-27 14:00:20 -0400
commit9550d6cebc12913c5e7df0ff874adebc827c70c9 (patch)
treec73bb6884dee31dd22db47aa98f409260b1b5cdc /android
parent570e3a706fe615e1699356761f999b47944d4859 (diff)
Fix null pointer dereference
Patch has been received by e-mail, Signed-off-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>
Diffstat (limited to 'android')
-rw-r--r--android/olm-sdk/src/main/java/org/matrix/olm/OlmInboundGroupSession.java1
1 files changed, 0 insertions, 1 deletions
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 {