mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
libflashrom: remove flashrom_supported_programmers
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>
This commit is contained in:

committed by
Nico Huber

parent
d3ee782e4b
commit
6aaa51f19a
@ -76,7 +76,6 @@ struct flashrom_chipset_info {
|
||||
|
||||
const char *flashrom_version_info(void);
|
||||
void flashrom_system_info(void);
|
||||
const char **flashrom_supported_programmers(void);
|
||||
struct flashrom_flashchip_info *flashrom_supported_flash_chips(void);
|
||||
struct flashrom_board_info *flashrom_supported_boards(void);
|
||||
struct flashrom_chipset_info *flashrom_supported_chipsets(void);
|
||||
|
Reference in New Issue
Block a user