commit | cb388ef8358e0abda9242c0d4adc65f43d5372f2 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jan 11 19:52:30 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 11 19:52:30 2018 +0000 |
tree | 476bfc9ac03fc06dbcc25a56760387f964336116 | |
parent | 832d55541d7073542a98199607844fc515590753 [diff] | |
parent | f68de711cf2a339e789ed56d26cfe87c3969b16c [diff] |
Merge "Memory leak fix in NFA_SetRfDiscoveryDuration()"
diff --git a/utils/config.cc b/utils/config.cc index 7c643b0..69b536e 100644 --- a/utils/config.cc +++ b/utils/config.cc
@@ -67,7 +67,7 @@ } if (in.length() > 1 && in[0] == '{' && in[in.length() - 1] == '}') { - CHECK(in.length() > 4); // Needs at least one byte + CHECK(in.length() >= 4); // Needs at least one byte type_ = BYTES; return parseBytesString(in.substr(1, in.length() - 2), value_bytes_); }