Re: [PATCH] security: do not leak information in ioctl

From: Christoph Hellwig
Date: Tue Apr 12 2022 - 01:25:59 EST


On Mon, Apr 11, 2022 at 09:31:20AM -0700, Tom Rix wrote:
> The failure can happen in the transfer loop, so some of the data will not be
> zero.
>
> And checking status should be done.
>
> zero-ing is because i am paranoid.

Maybe I'm just lost because of all the reformating. Please do a first
patch that split the CDROMREADTOCHDR and CDROMREADTOCENTRY into one
helper each and the just do the minimal fix on top so that it is
reviewable.