summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/detect_devices.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 346f7ff06..d29661cb4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- make drakclock systemd compatible
+- fix crashing on parsing garbaged DMI info (mga#4329)
- diskdrake:
o use better cipher for encrypted fses (mga#3092)
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 3c2fe0065..8cc4935d3 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1081,6 +1081,7 @@ sub dmidecode() {
}
foreach (@l) {
+ next if /TRUNCATED/;
if (/^$tab\t(.*)/) {
$dmis[-1]{string} .= "$1\n";
$dmis[-1]{$1} = $2 if /^$tab\t(.*): (.*)$/;