aboutsummaryrefslogtreecommitdiff
path: root/tests/cpio.test
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-09-01 19:16:06 -0500
committerRob Landley <rob@landley.net>2015-09-01 19:16:06 -0500
commit7d58b3085c6ebaa02cf567f25a741b878ee0a87c (patch)
tree343b1302086c9f95c438fd8d462dc6375be532f7 /tests/cpio.test
parentb1b0399dc701f3c9af19a09164a4f536bc00eb2c (diff)
downloadtoybox-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 'tests/cpio.test')
0 files changed, 0 insertions, 0 deletions