summaryrefslogtreecommitdiff
path: root/drivers/ddr/microchip
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2024-08-02 22:05:09 +0200
committerTom Rini <trini@konsulko.com>2024-08-15 16:14:36 -0600
commit048d795bb5b3d9c5701b4855f5e74bcf6849bf5e (patch)
tree07355b0c153b3c8ad4a75327a71383609690c36e /drivers/ddr/microchip
parent4f5cc096bfd0a591f8a11e86999e3d90a9484c34 (diff)
squashfs: Fix heap corruption in sqfs_search_dir()
res needs to be large enough to store both strings rem and target, plus the path separator and the terminator. Currently the space for the path separator is not accounted, so the heap is corrupted by one byte. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/ddr/microchip')
0 files changed, 0 insertions, 0 deletions