]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: add boundary check to facility & level array usage
authorSami Kerola <kerolasa@iki.fi>
Sat, 19 Jan 2013 00:09:02 +0000 (00:09 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 25 Jan 2013 09:09:36 +0000 (10:09 +0100)
commitae6288da84ff6e6c70d4a9719b8935995022f65e
tree9d53b388430b7f697abaa03bcb70675b58ee7ad6
parente3593244f3393fcc80cbcab7f3e46f5e93437914
dmesg: add boundary check to facility & level array usage

The dmesg should not crash while --decode'ing message facilities and
levels to readable string even if the values are out of bounds.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/dmesg.c