[dm-devel] [PATCH v4 1/2] block: Fix a buffer overrun in bio_integrity_split()

Martin K. Petersen martin.petersen at oracle.com
Wed Oct 24 16:34:14 UTC 2012


>>>>> "Vivek" == Vivek Goyal <vgoyal at redhat.com> writes:

Vivek> Initially he had reordered the bio_pair fields but there were
Vivek> couple of issues. We could not assume that there is no padding
Vivek> between fields and secondly some of the initializtion of looked
Vivek> plain ugly.

Vivek> IMHO, introduction of bip_vec to fix this issue is small and
Vivek> cleaner then reordering fields.

I agree.

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list