openocd/src/flash
Jan Matyas 64c2e03b23 flash/nor: improved API of flash_driver.info & fixed buffer overruns
1) The API of "info" callback in "struct flash_driver" has been
improved. Fixed buffers for strings

2) Removed the calls to snprintf() from the flash_driver.info
implementations. Many of them were used in an unsafe manner
(buffer overruns were possible).

Change-Id: I42ab8a8018d01f9af43c5ba49f650c3cb5d31dcb
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: http://openocd.zylin.com/6182
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2021-06-13 19:58:28 +01:00
..
nand Avoid non-standard conditionals with omitted operands. 2021-06-04 17:46:24 +01:00
nor flash/nor: improved API of flash_driver.info & fixed buffer overruns 2021-06-13 19:58:28 +01:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
startup.tcl telnet/auto-complete: hide deprecated and internal commands 2021-05-08 09:48:15 +01:00