aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJohn Thomson <[email protected]>2024-09-02 15:25:08 +0100
committerGreg Kroah-Hartman <[email protected]>2024-09-03 12:20:38 +0200
commit8679e8b4a1ebdb40c4429e49368d29353e07b601 (patch)
tree0f2a909dfe910be115e372ff64c1744af5ca53ab /drivers/fpga/fpga-bridge.c
parente8c276d4dc0e19ee48385f74426aebc855b49aaf (diff)
nvmem: u-boot-env: error if NVMEM device is too small
Verify data size before trying to parse it to avoid reading out of buffer. This could happen in case of problems at MTD level or invalid DT bindings. Signed-off-by: John Thomson <[email protected]> Cc: stable <[email protected]> Fixes: d5542923f200 ("nvmem: add driver handling U-Boot environment variables") [rmilecki: simplify commit description & rebase] Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions