]> git.ipfire.org Git - thirdparty/util-linux.git/commit
whereis: fix out of boundary read
authorSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:32:00 +0000 (11:32 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 11:34:44 +0000 (12:34 +0100)
commit62f1994c7e9753deab6395ccf4bab5e78eb53547
treefd0f9f25bf93cf4bbd21aa5af9fc4be79b892aa6
parent534ece4c632da5ad46bc4417f1ab6d806848cab2
whereis: fix out of boundary read

If whereis encounters a short file name then an out of boundary
read can occur.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
misc-utils/whereis.c