mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00

const char **flashrom_supported_programmers(void) returns an array of strings without returning the array size or making a NULL termination. This can lead to undefined behavior when iterating over the array. Change-Id: I0157926a654e337c14d840dd398e5576471c304f Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55350 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
31 lines
778 B
Plaintext
31 lines
778 B
Plaintext
LIBFLASHROM_1.0 {
|
|
global:
|
|
flashrom_board_info;
|
|
flashrom_chipset_info;
|
|
flashrom_data_free;
|
|
flashrom_flag_get;
|
|
flashrom_flag_set;
|
|
flashrom_flashchip_info;
|
|
flashrom_flash_erase;
|
|
flashrom_flash_getsize;
|
|
flashrom_flash_probe;
|
|
flashrom_flash_release;
|
|
flashrom_image_read;
|
|
flashrom_image_verify;
|
|
flashrom_image_write;
|
|
flashrom_init;
|
|
flashrom_layout_include_region;
|
|
flashrom_layout_read_fmap_from_buffer;
|
|
flashrom_layout_read_fmap_from_rom;
|
|
flashrom_layout_read_from_ifd;
|
|
flashrom_layout_release;
|
|
flashrom_layout_set;
|
|
flashrom_programmer_init;
|
|
flashrom_programmer_shutdown;
|
|
flashrom_set_log_callback;
|
|
flashrom_shutdown;
|
|
flashrom_system_info;
|
|
flashrom_version_info;
|
|
local: *;
|
|
};
|