]> 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)
committerSamanta Navarro <ferivoz@riseup.net>
Wed, 4 Nov 2020 11:43:09 +0000 (11:43 +0000)
commitcd4142f7c3757f3337c20a971b98c673e68a66a1
tree5cd27a81f94b982db877b0164ac9e1045696ba07
parentebb5ca72f4f0a18c61bc3935a1c7b769d7f3408a
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