summaryrefslogtreecommitdiffstats
path: root/tests/ts
diff options
context:
space:
mode:
authorSami Kerola2019-05-18 19:43:08 +0200
committerSami Kerola2019-05-18 19:43:08 +0200
commit23df051030add5f755633fc7a88ea66404f26adf (patch)
tree5725ee66aa72640e4524679101f8c57f3227c828 /tests/ts
parentinclude/strutils: fix potential null pointer dereference (diff)
downloadkernel-qcow2-util-linux-23df051030add5f755633fc7a88ea66404f26adf.tar.gz
kernel-qcow2-util-linux-23df051030add5f755633fc7a88ea66404f26adf.tar.xz
kernel-qcow2-util-linux-23df051030add5f755633fc7a88ea66404f26adf.zip
lscpu: fix floating point exception
As the title tells this change indeed fixes floating point exception, but post processing as value overwrite feels a wrong. Possibly something in input is making cpu set count to go wrong, but I could not get my head around what could it be. Anyway avoiding division by zero seems better than crashing so lets do this atleast for now. Caused-by: e5f721132ec8b8c933a396d8dcb3efcb67854f13 Addresses: https://github.com/karelzak/util-linux/issues/788 Reported-by: Lars Wendler <polynomial-c@gentoo.org> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts')
-rw-r--r--tests/ts/lscpu/dumps/vmware_fpe.tar.gzbin0 -> 59743 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/ts/lscpu/dumps/vmware_fpe.tar.gz b/tests/ts/lscpu/dumps/vmware_fpe.tar.gz
new file mode 100644
index 000000000..1fc6aed4a
--- /dev/null
+++ b/tests/ts/lscpu/dumps/vmware_fpe.tar.gz
Binary files differ