]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
msdosfs: Fix a leak of dirent padding bytes
authorMark Johnston <markj@FreeBSD.org>
Sun, 27 Dec 2020 21:52:30 +0000 (16:52 -0500)
committerMark Johnston <markj@FreeBSD.org>
Wed, 6 Jan 2021 14:45:04 +0000 (09:45 -0500)
commit5ece34669c27a61f78cd0f6e0759c17f7787aebb
tree821db82ca8030de64ad9a700edb10ea344031af5
parentc49c4e095e6ccabc9640c0108ea6023193978825
msdosfs: Fix a leak of dirent padding bytes

This was missed in r340856 / commit
6d2e2df764199f0a15fd743e79599391959cc17d.  Three bytes from the kernel
stack may be leaked when reading directory entries.

Reported by: Syed Faraz Abrar <faraz@elttam.com>

(cherry picked from commit 599f90446376370eb365a0fde857ea2b5766873a)
sys/fs/msdosfs/msdosfs_vnops.c