]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_read: don't write beyond buffer size
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:23 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commitcbd5e40ede4e5c6aedce9475325bdf80b7fa839b
tree56c385bc02404d248bed95312ccaf1adcfd5dfcc
parent6d25bd3e9c1d317cdbd52a4c6bba11f912bb4d6a
fs/squashfs: sqfs_read: don't write beyond buffer size

The length of the buffer wasn't taken into account when writing to the
given buffer.

Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
fs/squashfs/sqfs.c