u-boot-brain/common
Simon Glass ae3de0d8ca image: Protect against overflow in unknown_msg()
Coverity complains that this can overflow. If we later increase the size
of one of the strings in the table, it could happen.

Adjust the code to protect against this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 150964)
2016-11-05 07:27:43 -04:00
..
eeprom
init bootstage: call show_boot_progress also in SPL 2016-06-09 13:53:08 -04:00
spl spl: move SYS_OS_BASE to Kconfig 2016-10-15 08:12:27 -04:00
autoboot.c autoboot: move bootdelay >= 0 check to abortboot() 2016-07-01 17:42:56 -04:00
bedbug.c
board_f.c board_f: Drop the extra fdtdec_prepare_fdt() 2016-10-11 11:55:33 +08:00
board_info.c
board_r.c
bootm_os.c sandbox: Don't exit when bootm completes 2016-07-14 18:22:32 -04:00
bootm.c bootm: fix passing argc to standalone apps 2016-10-01 20:04:37 -04:00
bootretry.c
bootstage.c
bouncebuf.c
cli_hush.c
cli_readline.c common: cli_readline: Improve command line editing 2016-08-20 14:03:24 -04:00
cli_simple.c
cli.c hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
command.c
console.c Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig 2016-10-23 18:33:19 -04:00
cros_ec.c
ddr_spd.c
dfu.c cmd: dfu: Add error handling for board_usb_init 2016-11-03 11:55:25 +01:00
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
env_dataflash.c
env_eeprom.c
env_embedded.c
env_ext4.c common: Fix support for environment file in EXT4 2016-06-24 17:24:35 -04:00
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c common: env_nand: Ensure that we have nand_info[0] prior to use 2016-08-15 18:46:41 -04:00
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sata.c
env_sf.c dm: spi: Read default speed and mode values from DT 2016-07-09 20:16:34 +05:30
env_ubi.c common: env_ubi: Clear environment buffer before reading 2016-06-13 06:41:20 +02:00
exports.c
fb_mmc.c fastboot: move FASTBOOT_FLASH options into Kconfig 2016-10-01 20:04:59 -04:00
fb_nand.c fastboot: sparse: implement reserve() 2016-06-27 16:37:39 -04:00
fdt_support.c cmd/fdt: add possibilty to have 'extrasize' on fdt resize 2016-10-13 13:54:10 -06:00
flash.c
hash.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hwconfig.c
ide.c
image-android.c common: image: minimal android image iminfo support 2016-06-24 17:23:07 -04:00
image-fdt.c cmd/fdt: add possibilty to have 'extrasize' on fdt resize 2016-10-13 13:54:10 -06:00
image-fit.c libfdt: Sync fdt_for_each_subnode() with upstream 2016-10-13 14:10:32 -06:00
image-sig.c libfdt: Sync fdt_for_each_subnode() with upstream 2016-10-13 14:10:32 -06:00
image-sparse.c fastboot: sparse: improve CHUNK_TYPE_FILL write performance 2016-06-27 16:37:39 -04:00
image.c image: Protect against overflow in unknown_msg() 2016-11-05 07:27:43 -04:00
iomux.c
iotrace.c
kallsyms.c
Kconfig Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-28 11:12:03 -04:00
kgdb_stubs.c
kgdb.c
lcd_console_rotation.c
lcd_console.c
lcd_simplefb.c
lcd.c
lynxkdi.c
main.c
Makefile common: dfu: saperate the dfu common functionality 2016-09-27 23:30:18 +02:00
malloc_simple.c
memsize.c
menu.c
miiphyutil.c net: mii: check phy advertising register when geting link status 2016-08-22 14:21:23 -05:00
s_record.c
sata.c
scsi.c dm: scsi: if_typename should be scsi 2016-06-06 13:39:12 -04:00
splash_source.c splash: Accommodate DM_USB in splash_init_usb() 2016-07-25 22:42:10 +02:00
splash.c splash: Introduce default_splash_locations 2016-07-26 08:47:37 +02:00
stdio.c Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig 2016-10-23 18:34:17 -04:00
system_map.c
update.c
usb_hub.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
usb_kbd.c Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig 2016-10-23 18:34:17 -04:00
usb_storage.c usb: squash lines for immediate return 2016-09-23 17:53:48 -04:00
usb.c usb: squash lines for immediate return 2016-09-23 17:53:48 -04:00
xyzModem.c