]> 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)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 11:04:02 +0000 (12:04 +0100)
commitcb4d39ff41ea8bcfc7ec2b36db68c72f8c21c3c9
treefeefaa1e6947a282eda287838a6ae2f7201e7a47
parent1cf30a85af60b8b55b5edaa2e056b5871bf21a4a
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