Re: [RFC] ubsan: signed integer overflow in scsi_partsize

From: Bart Van Assche
Date: Fri Jun 16 2017 - 11:01:55 EST

On 06/16/17 06:29, Alice Ferrazzi wrote:
> A Gentoo user reported a USBAN signed integer overflow in scsicam.c
> Shall we change something?

Hello Alice,

Some of the code in drivers/scsi/scsicam.c duplicates code in
block/partitions/msdos.c and block/genhd.c. I think patches that remove
the partition table parsing code from drivers/scsi/scsicam.c and that
use the generic partition table parsing code instead would be more than