]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: avoid segfault on PowerPC systems with valid hardware configurations
authorThomas Abraham <tabraham@suse.com>
Thu, 24 Sep 2020 18:52:33 +0000 (14:52 -0400)
committerThomas Abraham <tabraham@suse.com>
Thu, 24 Sep 2020 18:52:33 +0000 (14:52 -0400)
commitcbe3304bc43b3fceb06fb6e5dd822bb59abf1b84
tree5fd6b5635a5575df2f0e2ff4ef0671c7f394853f
parentc8baef03c6fbc71fd54fe3ca329764bbbb1a7cf3
lscpu: avoid segfault on PowerPC systems with valid hardware configurations

ntypes greater than 1 is valid in some hardware configurations, and an assert()
on the value isn't necessary or very future proof
sys-utils/lscpu.c