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

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

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

* commit 'f650c075':
  fastboot: check argc before using argv
parents 34fd8596 f650c075
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -825,7 +825,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;