mirror of https://git.matrix.org/git/olm.git
Fix null pointer dereference
Patch has been received by e-mail, Signed-off-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>poljar/cmake_sas
parent
570e3a706f
commit
9550d6cebc
|
@ -302,7 +302,6 @@ public class OlmInboundGroupSession extends CommonSerializeUtils implements Seri
|
||||||
// sanity check
|
// sanity check
|
||||||
if(null == aErrorMsg) {
|
if(null == aErrorMsg) {
|
||||||
Log.e(LOG_TAG,"## serialize(): invalid parameter - aErrorMsg=null");
|
Log.e(LOG_TAG,"## serialize(): invalid parameter - aErrorMsg=null");
|
||||||
aErrorMsg.append("aErrorMsg=null");
|
|
||||||
} else if (null == aKey) {
|
} else if (null == aKey) {
|
||||||
aErrorMsg.append("Invalid input parameters in serialize()");
|
aErrorMsg.append("Invalid input parameters in serialize()");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue