On 09/01/2017 06:24 AM, kusumi.tomohiro@xxxxxxxxx wrote: > From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> > > 8c43ba62('filesetup: align layout buffer') needs to use the same size > for fio_memalign() and fio_memfree(). > > If the size `bs' gets decreased while in the write(2) loop, the size > for freeing is smaller than it should be, and results in segfault > by dereferencing ->offset of the footer via irrelevant address somewhere > in user data. Good catch, should have been reviewed more carefully. Applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html