public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fat: fix FAT sector offsets overflow on large FAT partitions
Date: Tue, 22 May 2012 10:14:14 +0200	[thread overview]
Message-ID: <20120522081415.00555200239@gemini.denx.de> (raw)
In-Reply-To: <1337448040-7902-1-git-send-email-agust@denx.de>

Dear Anatolij Gustschin,

In message <1337448040-7902-1-git-send-email-agust@denx.de> you wrote:
> From: Aaron Williams <aaron.williams@caviumnetworks.com>
> 
> This patch fixes several issues where sector offsets can overflow due
> to being limited to 16-bits. The cases where an overflow can happen
> when accessing large FAT32 partitions are:
> 
>  - length of FAT in sectors
>  - start sector of root directory
>  - the sector of the first cluster
> 
> These issues were observed when reading files from a 64GB FAT32
> filesystem.
> 
> Signed-off-by: Aaron Williams <aaron.williams@caviumnetworks.com>
> Tested-by: Anatolij Gustschin <agust@denx.de>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  include/fat.h |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The face of war has never changed.  Surely it is more logical to heal
than to kill.
	-- Surak of Vulcan, "The Savage Curtain", stardate 5906.5

      reply	other threads:[~2012-05-22  8:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03  2:17 [U-Boot] [PATCH 1/1] fat: FAT sector offsets overflow on large disks and/or FAT partitions Aaron Williams
2012-05-08  2:10 ` Aaron Williams
2012-05-12 15:41 ` Anatolij Gustschin
2012-05-14 22:54   ` Aaron Williams
2012-05-19 17:20 ` [U-Boot] [PATCH] fat: fix FAT sector offsets overflow on large " Anatolij Gustschin
2012-05-22  8:14   ` Wolfgang Denk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120522081415.00555200239@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox