commit | 67cb838c13e6827777b3579aadd7d64897ddff04 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Oct 14 17:46:39 2015 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Oct 14 17:50:59 2015 +0200 |
tree | 2b4325a6240a1ea1ff3b64894bb1d232f3576ae2 | |
parent | 7156197437dcb37524b67731672b1ce1624413f6 [diff] |
diotest6: Cleanup & fix. * Small cleanup * Fixed heap corruption (as reported by Sandy Sun) The code incorrectly passed iovec pointers instead of buffers (which worked most of the time, since usually the pointer to structure is the same as pointer to first member). But this may and will fail. Moreover the test doesn't need the iovec array at all, two simple buffers do suffice. Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Reported-by: Sandy Sun <a22017@motorola.com>