diff options
author | Colin Cross <ccross@android.com> | 2015-09-01 19:16:06 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-09-01 19:16:06 -0500 |
commit | 7d58b3085c6ebaa02cf567f25a741b878ee0a87c (patch) | |
tree | 343b1302086c9f95c438fd8d462dc6375be532f7 /.gitignore | |
parent | b1b0399dc701f3c9af19a09164a4f536bc00eb2c (diff) | |
download | toybox-7d58b3085c6ebaa02cf567f25a741b878ee0a87c.tar.gz |
vmstat: reset header pointer when looping
Modifying the headers pointer when printing the headers causes
a buffer overrun the second time they are printed. Use a local
header pointer that is reset to the beginning of the buffer for
each loop.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions