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

Commit a2b3ded5 authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am cecc3186: am f650c075: Merge "fastboot: check argc before using argv"

* commit 'cecc3186':
  fastboot: check argc before using argv
parents c4236c8b cecc3186
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -843,7 +843,7 @@ int main(int argc, char **argv)
        return 1;
    }

    if (!strcmp(*argv, "devices")) {
    if (argc > 0 && !strcmp(*argv, "devices")) {
        skip(1);
        list_devices();
        return 0;