linux-hardened/arch/powerpc/platforms
Aruna Balakrishnaiah 7e76f34fa1 powerpc/pseries: Fix buffer overflow when reading from pstore
When reading from pstore there is a buffer overflow during decompression
due to the header added in unzip_oops. Remove unzip_oops and call
pstore_decompress directly in nvram_pstore_read. Allocate buffer of size
report_length of the oops header as header will not be deallocated in pstore.
Since we have 'openssl' command line tool to decompress the compressed data,
dump the compressed data in case decompression fails instead of not dumping
anything.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-08-09 18:06:40 +10:00
..
8xx powerpc/8xx: Erroneous double irq_eoi() on CPM IRQ in MPC8xx 2013-07-01 18:38:32 -05:00
40x Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
44x powerpc: Delete __cpuinit usage from all users 2013-07-01 11:10:36 +10:00
52xx Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
82xx powerpc/82xx: fix checkpatch warnings for km82xx.c 2013-02-13 07:49:04 -06:00
83xx powerpc/83xx: use module_i2c_driver to simplify the code 2013-06-25 16:34:11 -05:00
85xx Merge remote-tracking branch 'scott/next' into next 2013-07-02 17:42:17 +10:00
86xx powerpc: remove redundant GENERIC_GPIO selection 2013-03-20 22:48:15 +09:00
512x powerpc/mpc512x: add MPC5125 reset module support for system restart 2013-06-24 21:36:49 +02:00
amigaone pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
cell irqdomain refactoring for v3.11 2013-07-06 12:37:04 -07:00
chrp mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
embedded6xx powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
maple POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pasemi cpufreq: powerpc: move cpufreq driver to drivers/cpufreq 2013-06-07 13:44:39 +02:00
powermac irqdomain refactoring for v3.11 2013-07-06 12:37:04 -07:00
powernv powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init 2013-07-24 14:42:27 +10:00
ps3 powerpc/mm: handle hugepage size correctly when invalidating hpte entries 2013-06-21 16:01:52 +10:00
pseries powerpc/pseries: Fix buffer overflow when reading from pstore 2013-08-09 18:06:40 +10:00
wsp powerpc: Fix irq_set_affinity() return values 2013-05-14 16:00:18 +10:00
fsl_uli1575.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
Kconfig Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-07-04 10:29:23 -07:00
Kconfig.cputype Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-07-04 10:29:23 -07:00
Makefile powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00