mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
The function seek which allows the user to move the cursor to a particular offset in order to read and write from EEPROM storage does not validate the offset is valid. Later, this can cause an out-of-bounds reads or writes. Note that newpos may store a large value, larger than the size of the EEPROM. Similar change in the SPI driver. Tested locally, builds fine. Signed-off-by: Catalin Visinescu <catalin_visinescu@yahoo.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| i2c_xx24xx.c | ||
| Kconfig | ||
| Make.defs | ||
| spi_xx25xx.c | ||