diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2020-06-03 11:09:40 -0700 |
---|---|---|
committer | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2020-06-03 15:09:49 -0700 |
commit | a16fa1f6992583ad2dabb388a97150033efe4d92 (patch) | |
tree | eefa364ab955a740650fed9822084f50eccd9672 | |
parent | 8b0de912c698d33ec721688f100eb88d4c8a4dc3 (diff) |
rmnetcli: Fix potential SEGV
Input check all params for flowactivate to make
sure SEGV is not possible.
CRs-Fixed: 2701493
Change-Id: I303e2701f37779d1262f5102f342974f63fd01cc
-rw-r--r-- | rmnetctl/cli/rmnetcli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rmnetctl/cli/rmnetcli.c b/rmnetctl/cli/rmnetcli.c index 8b60127..11184d7 100644 --- a/rmnetctl/cli/rmnetcli.c +++ b/rmnetctl/cli/rmnetcli.c @@ -427,6 +427,7 @@ static int rmnet_api_call(int argc, char *argv[]) _RMNETCLI_CHECKNULL(argv[3]); _RMNETCLI_CHECKNULL(argv[4]); _RMNETCLI_CHECKNULL(argv[5]); + _RMNETCLI_CHECKNULL(argv[6]); return_code = rtrmnet_activate_flow(handle, argv[1], argv[2], _STRTOUI8(argv[3]), |