diff options
author | Shiji Yang <yangshiji66@outlook.com> | 2025-07-25 08:20:45 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-08-01 17:58:59 -0600 |
commit | 7e842bd33154946052068195df3446635236d3d9 (patch) | |
tree | 2a050857eb55c80a4f9c29db2209c895c576cd67 /drivers/ddr/microchip/ddr2_timing.h | |
parent | 39ae954b04ef2fc4a8c14410379b663deb391fde (diff) |
env: mtd: initialize saved_buf pointer
When sect_size is greater than the CONFIG_ENV_SIZE, this wild
pointer will cause CPU halt or system crash.
Fixes: 03fb08d4aef8 ("env: Introduce support for MTD")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_timing.h')
0 files changed, 0 insertions, 0 deletions