commit | 62f689c925b47514ca13a3fb26d4c2a027171abe | [log] [tgz] |
---|---|---|
author | Srdjan Petrovic <spetrovic@google.com> | Wed Nov 12 11:05:35 2014 -0800 |
committer | Srdjan Petrovic <spetrovic@google.com> | Wed Nov 12 11:05:35 2014 -0800 |
tree | fe0b3526c3786d1d81815bc09404a7cbb4fa574a | |
parent | 15d179e07b57a63d5f9898f7ec3e67ffd00cde54 [diff] |
veyron.io/veyron/veyron/lib/stats/sysstats: Bugfix for android. Detailed note: when the environment variable has more or less than two arguments, the "kv" array will have the default assigned value of nil, which would panic the Set() method below. Change-Id: I15038dac45384862cb304b001d2c9390cb044174 Fix: don't pre-size the array.