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

Commit 5f9617a5 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Don't fail ReadArgs if length to parse is 0" am: f4c949a4

am: e102ea13

Change-Id: I56740f678375ad00f3ae90125c610c8f5003290e
parents cf219a93 e102ea13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ bool ReadArgs(State* state, const std::vector<std::unique_ptr<Expr>>& argv,
    if (args == nullptr) {
        return false;
    }
    if (len == 0 || start + len > argv.size()) {
    if (start + len > argv.size()) {
        return false;
    }
    for (size_t i = start; i < start + len; ++i) {