]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/strutils: fix potential null pointer dereference
authorSami Kerola <kerolasa@iki.fi>
Thu, 16 May 2019 20:56:57 +0000 (21:56 +0100)
committerSami Kerola <kerolasa@iki.fi>
Thu, 16 May 2019 21:05:07 +0000 (22:05 +0100)
commitd2a1ee4e56182ba746053c6d41b6f29a2ce5554b
tree9c5bb3ccd5f51ebc7d07d024a27a68f305b3efd2
parent30d5ceeda8266a9b9d8ab58a2f128352d6aa4fe0
include/strutils: fix potential null pointer dereference

Recent lscpu fix caused gcc -Wnull-dereference to go off that this change
addresses.

Reference: b94acada9ed0e11a7e82f8f60280c5b6058e4250
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/strutils.h