mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
commit fc3d092c6bb48d5865fec15ed5b333c12f36288c upstream.
The Amiga partition parser module uses signed int for partition sector
address and count, which will overflow for disks larger than 1 TB.
Use sector_t as type for sector address and size to allow using disks
up to 2 TB without LBD support, and disks larger than 2 TB with LBD.
This bug was reported originally in 2012, and the fix was created by
the RDB author, Joanne Dow <jdow@earthlink.net>. A patch had been
discussed and reviewed on linux-m68k at that time but never officially
submitted. This patch differs from Joanne's patch only in its use of
sector_t instead of unsigned int. No checking for overflows is done
(see patch 3 of this series for that).
Reported-by: Martin Steigerwald <Martin@lichtvoll.de>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=43511
Fixes:
|
||
| .. | ||
| acorn.c | ||
| acorn.h | ||
| aix.c | ||
| aix.h | ||
| amiga.c | ||
| amiga.h | ||
| atari.c | ||
| atari.h | ||
| check.c | ||
| check.h | ||
| cmdline.c | ||
| cmdline.h | ||
| efi.c | ||
| efi.h | ||
| ibm.c | ||
| ibm.h | ||
| karma.c | ||
| karma.h | ||
| Kconfig | ||
| ldm.c | ||
| ldm.h | ||
| mac.c | ||
| mac.h | ||
| Makefile | ||
| msdos.c | ||
| msdos.h | ||
| osf.c | ||
| osf.h | ||
| sgi.c | ||
| sgi.h | ||
| sun.c | ||
| sun.h | ||
| sysv68.c | ||
| sysv68.h | ||
| ultrix.c | ||
| ultrix.h | ||