diff options
author | Richard Genoud <richard.genoud@posteo.net> | 2020-11-03 12:11:24 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-11-19 09:45:49 -0500 |
commit | 21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d (patch) | |
tree | 6634e5e2cb8ccf1d38424f73c18719d987faa061 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | cbd5e40ede4e5c6aedce9475325bdf80b7fa839b (diff) | |
download | u-boot-21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d.tar.gz u-boot-21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d.tar.xz u-boot-21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d.zip |
fs/squashfs: sqfs_read: remove buggy offset functionality
offset is the offset in the file read, not the offset in the destination
buffer.
If the offset is not null, this will lead to a memory corruption.
So, for now, we are returning an error if the offset is used.
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions