[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyYpe=oyF9yVqF3E6t4ZCpHAdnLj1g36FWUDZydW9mdgQ@mail.gmail.com>
Date: Mon, 22 Sep 2014 08:18:44 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Anton Altaparmakov <aia21@....ac.uk>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Hugh Dickins <hughd@...gle.com>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] Fix nasty 32-bit overflow bug in buffer i/o code.
On Sun, Sep 21, 2014 at 5:53 PM, Anton Altaparmakov <aia21@....ac.uk> wrote:
>
> This patch fixes this issue by type casting "index" to sector_t before
> doing the left shift.
Ugh. Does the simpler patch to just pass in "block" work as well?
Linus
View attachment "patch.diff" of type "text/plain" (936 bytes)
Powered by blists - more mailing lists