Fix null pointer dereference

Patch has been received by e-mail, Signed-off-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>
This commit is contained in:
Benoit Marty 2018-06-25 16:09:55 +02:00 committed by Hubert Chathi
parent 570e3a706f
commit 9550d6cebc

View file

@ -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 {