linux_dsm_epyc7002/arch/powerpc
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
..
boot
configs PCI: hotplug: Convert to be builtin only, not modular 2013-07-25 14:11:06 -06:00
crypto
include powerpc: VPHN topology change updates all siblings 2013-08-01 13:11:47 +10:00
kernel powerpc: Rename PMU interrupts from CNT to PMI 2013-08-01 13:11:46 +10:00
kvm
lib
math-emu
mm powerpc: VPHN topology change updates all siblings 2013-08-01 13:11:47 +10:00
net
oprofile
perf powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace 2013-08-01 13:11:46 +10:00
platforms powerpc/pseries: Fix buffer overflow when reading from pstore 2013-08-09 18:06:40 +10:00
sysdev
xmon
Kconfig powerpc: On POWERNV enable PPC_DENORMALISATION by default 2013-08-09 18:05:29 +10:00
Kconfig.debug
Makefile
relocs_check.pl