From 6aaa51f19a826f18ac19ccf2acf98435d3f52ce7 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Wed, 9 Jun 2021 11:50:17 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/55350 Reviewed-by: Angel Pons Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- libflashrom.map | 1 - 1 file changed, 1 deletion(-) (limited to 'libflashrom.map') diff --git a/libflashrom.map b/libflashrom.map index d6dd24d2c..0c28a68c0 100644 --- a/libflashrom.map +++ b/libflashrom.map @@ -24,7 +24,6 @@ LIBFLASHROM_1.0 { flashrom_programmer_shutdown; flashrom_set_log_callback; flashrom_shutdown; - flashrom_supported_programmers; flashrom_system_info; flashrom_version_info; local: *; -- cgit v1.2.3