Hi Cyril, Thank you for responding!
Since this test forks many children threads, once a later child thread compares two bufs before a previous one don't complete. It will cause "heap corruption detected by tmalloc_small" With this change, it will fix this failure condition. Thanks, Sandy On Tue, Aug 18, 2015 at 5:48 AM, Cyril Hrubis <chru...@suse.cz> wrote: > Hi! > > I found pointer issue in diotest6. It wrongly use iov1/iov2 as pointer to > > "buf" when read/write > > from fd_r/w. It should be iov1[j].iov_base. > > Looks like you are right. But since none of the syscalls the test > uses works with struct iovec can't we get rid of them? > > As far as I can see the testcase can work with just two buffers, one > gets initialized in each iteration and one is read back and compared > with the initialized one. > > -- > Cyril Hrubis > chru...@suse.cz >
------------------------------------------------------------------------------
_______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list