coreboot-kgpe-d16/src/lib
Alex Rebert 41de2a08ec lib/lzma: Fix out-of-bounds read
Fix an out-of-bounds read in the LZMA decoder which happens when the src
buffer is too small to contain the 13-byte LZMA header.

Change-Id: Id5893e60fc9a48deb83560b7917f5558cd30ef4e
Signed-off-by: Alex Rebert <alexandre.rebert@gmail.com>
Found-by: Mayhem
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39085
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-02-25 10:13:51 +00:00
..
gnat lib/gnat: Enable -Werror 2019-06-28 08:42:16 +00:00
b64_decode.c src/lib: Fix typos 2020-01-08 12:57:53 +00:00
boot_device.c boot_device: Constify argument 2019-05-12 07:47:45 +00:00
bootblock.c drivers/pc80/rtc: Move sanitize_cmos() 2020-01-10 15:28:41 +00:00
bootmem.c src/lib: Fix typos 2020-01-08 12:57:53 +00:00
bootmode.c security/vboot: Remove flags from struct vboot_working_data 2019-11-15 10:37:46 +00:00
bootsplash.c lib/bootsplash: Fix compilation 2019-09-27 16:20:04 +00:00
cb.ads Hook up Kconfig Ada spec file 2019-02-06 16:20:35 +00:00
cbfs.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
cbmem_common.c arch/x86: Remove acpi_fail_wakeup() and cbmem_fail_resume() 2019-09-14 10:55:34 +00:00
cbmem_console.c lib/cbmem_console: Rename cbmem_console_p to current_console 2019-12-01 23:09:34 +00:00
cbmem_stage_cache.c lib/*_stage_cache.c: drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:31:16 +00:00
compute_ip_checksum.c
coreboot_table.c treewide: Capitalize 'CMOS' 2020-02-24 14:10:00 +00:00
crc_byte.c lib/crc_byte: Add CRC32 implementation 2020-01-07 08:38:58 +00:00
decompressor.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
delay.c
device_tree.c add ctype.h header 2019-06-24 21:15:14 +00:00
dimm_info_util.c src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
edid.c lib/edid: Zero struct only when used 2020-02-17 15:43:25 +00:00
edid_fill_fb.c lib/edid: Add suport for display rotation 2019-08-08 03:18:35 +00:00
ext_stage_cache.c lib/*_stage_cache.c: drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:31:16 +00:00
fallback_boot.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
fit.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
fit_payload.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
fmap.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
gcc.c
gcov-glue.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c src: include <assert.h> when appropriate 2019-04-23 10:01:36 +00:00
halt.c
hardwaremain.c console,boot_state: Reformat state times output 2019-12-31 17:38:04 +00:00
hexdump.c src: Remove unused include <string.h> 2019-12-26 10:45:37 +00:00
hexstrtobin.c src: Remove unused include <string.h> 2019-12-26 10:45:37 +00:00
hw-time-timer.adb
imd.c printf: Automatically prefix %p with 0x 2019-12-11 11:38:59 +00:00
imd_cbmem.c lib/imd_cbmem: Rename imd_cbmem into imd, use directly 2019-12-03 15:29:05 +00:00
jpeg.c
jpeg.h
Kconfig lib/fmap: Disable pre-RAM cache for FSP 1.0 2019-11-19 11:26:21 +00:00
libgcc.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
libgcov.c {src,util}: Use NULL instead of 0 for pointer 2018-06-11 08:52:08 +00:00
list.c
lzma.c lib/lzma: Fix out-of-bounds read 2020-02-25 10:13:51 +00:00
lzmadecode.c src/{include,arch,cpu,lib}: Add missing 'include <types.h>' 2019-05-29 20:27:18 +00:00
lzmadecode.h
Makefile.inc lib: Always read SPD sources as text file 2020-01-27 07:41:00 +00:00
malloc.c lib/malloc: Implement a simple free() only for last malloc() 2020-01-02 18:22:53 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c Replace ENV_RAMSTAGE with ENV_PAYLOAD_LOADER 2019-06-24 04:33:06 +00:00
memset.c
nhlt.c lib/nhlt: Use common function to set NHLT version 2018-08-27 15:54:34 +00:00
primitive_memtest.c src: Include <stdint.h> instead of <inttypes.h> 2019-08-10 01:33:58 +00:00
prog_loaders.c bootblock: Support normal/fallback mechanism again 2019-12-27 08:59:20 +00:00
prog_ops.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
program.ld src/: Replace some __PRE_RAM__ use 2019-09-14 11:16:17 +00:00
ramdetect.c lib: ramdetect: Register exception handlers for ARMv8 2019-08-26 07:14:03 +00:00
ramtest.c Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
reg_script.c soc/intel/fsp_baytrail: Drop support 2019-11-21 06:41:09 +00:00
region_file.c region: add rdev_chain_full() 2019-11-11 10:27:47 +00:00
reset.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
rmodule.c printf: Automatically prefix %p with 0x 2019-12-11 11:38:59 +00:00
rmodule.ld src: Fix typo 2018-08-10 21:25:53 +00:00
romstage_handoff.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
rtc.c rtc: Fix rtc_calc_weekday 2019-02-27 11:07:11 +00:00
selfboot.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
spd_bin.c lib/spd_bin,soc/intel/common: Move get_spd_smbus() 2020-01-09 18:43:59 +00:00
stack.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
string.c string: implement strspn, strcspn, atol 2019-08-10 01:32:19 +00:00
thread.c src: Use #include <timer.h> when appropriate 2019-04-06 16:02:49 +00:00
timer.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
timer_queue.c
timestamp.c timestamps: Fix syncing, logging and comments 2020-01-10 14:12:00 +00:00
trace.c printf: Automatically prefix %p with 0x 2019-12-11 11:38:59 +00:00
ubsan.c complier.h: add __noreturn and use it in code base 2018-09-10 15:02:51 +00:00
uuid.c lib/uuid: Add UUID parsing function 2019-11-01 11:38:22 +00:00
version.c ACPI: Correct asl_compiler_revision value 2019-02-21 19:07:31 +00:00
wrdd.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00