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

Commit 3b5a624f authored by c_rrajiv's avatar c_rrajiv Committed by Gerrit - the friendly Code Review server
Browse files

Fix Crash for IpManager when verbose log enabled

When verbose logging is enabled and we try to connect to
any accesspoint, dump function has a missing check for
args parameter. This commit ensures the same

CRs-Fixed: 1102873
Change-Id: I84fa13d79a8f4b712cdc55a6d919e887b3fcaee5
parent ec02d114
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -567,7 +567,7 @@ public class IpManager extends StateMachine {
    }

    public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
        if (args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
        if (args != null && args.length > 0 && DUMP_ARG_CONFIRM.equals(args[0])) {
            // Execute confirmConfiguration() and take no further action.
            confirmConfiguration();
            return;