I found the following issues in xfs_io. mread command: a) Causes a segmentation fault. Because "length"+1 bytes data is copied to buffer in read_mapping(), but buffer size is "length". b) Reads from
Looks OK - could you send explicit test cases that demonstrate each problem please? (i.e. actual xfs_io invocations). Particularly the segfault should be easy to show, something like: xfs_io -f -c 'm
Thanks for your response. This is my test case. $ ./xfs_io -f mmap -c "pwrite 0 16384" -c "mmap 4096 4096" -c "mread -r" wrote 16384/16384 bytes at offset 0 16 KiB, 4 ops; 0.0000 sec (625 MiB/sec and
I found the following issues in xfs_io. mread command: a) Causes a segmentation fault. Because "length"+1 bytes data is copied to buffer in read_mapping(), but buffer size is "length". b) Reads from
Looks OK - could you send explicit test cases that demonstrate each problem please? (i.e. actual xfs_io invocations). Particularly the segfault should be easy to show, something like: xfs_io -f -c 'm
Thanks for your response. This is my test case. $ ./xfs_io -f mmap -c "pwrite 0 16384" -c "mmap 4096 4096" -c "mread -r" wrote 16384/16384 bytes at offset 0 16 KiB, 4 ops; 0.0000 sec (625 MiB/sec and