Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 942085b8 authored by Sylvain Becuwe's avatar Sylvain Becuwe Committed by You Kim
Browse files

Potential NPE in SQLiteConnection



Change-Id: I4d768bda5ea2fccb4a7c6ce7a5f074bf41563eac
Signed-off-by: default avatarSylvain Becuwe <sylvain.becuwe@gmail.com>
parent 7e007ff8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -974,7 +974,7 @@ public final class SQLiteConnection implements CancellationSignal.OnCancelListen
        if (count != statement.mNumParameters) {
            throw new SQLiteBindOrColumnIndexOutOfRangeException(
                    "Expected " + statement.mNumParameters + " bind arguments but "
                    + bindArgs.length + " were provided.");
                    + count + " were provided.");
        }
        if (count == 0) {
            return;