[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v4 1/2] block: Fix a buffer overrun in bio_integrity_split()
- From: "Martin K. Petersen" <martin petersen oracle com>
- To: Tejun Heo <tj kernel org>
- Cc: axboe kernel dk, "Martin K. Petersen" <martin petersen oracle com>, Kent Overstreet <koverstreet google com>, dm-devel redhat com, linux-kernel vger kernel org, linux-bcache vger kernel org, Vivek Goyal <vgoyal redhat com>
- Subject: Re: [dm-devel] [PATCH v4 1/2] block: Fix a buffer overrun in bio_integrity_split()
- Date: Wed, 24 Oct 2012 12:57:45 -0400
>>>>> "Tejun" == Tejun Heo <tj kernel org> writes:
Tejun> If Martin is happy with it, I'm not gonna push it but putting the
Tejun> respective storage member after one containing vararray at the
Tejun> end is a legit way to allocate the area statically. As long as
Tejun> the storage field is marked as such and not accessed directly, it
Tejun> doesn't matter whether there's padding inbetween or not.
The embedded array is still at the end. Kent just added an explicit
pointer for use in the bio_pair corner case.
--
Martin K. Petersen Oracle Linux Engineering
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]