Blame SOURCES/installed-invalid.patch

6bd781
From 69a1c9ca658c9708698cde6aee32af7bb2e16f9a Mon Sep 17 00:00:00 2001
6bd781
From: David Sommerseth <davids@redhat.com>
6bd781
Date: Thu, 20 Jun 2013 12:58:12 +0200
6bd781
Subject: [PATCH] Fixed a missing break statement in a switch for DMI section
6bd781
 3.3.7.2
6bd781
6bd781
This missing break could cause duplicated 'installed' attributes in
6bd781
<InstalledSize/> or <EnabledSize/> XML tags.  This is only happening
6bd781
when dmi_memory_module_size() is called and only on some hardware.
6bd781
6bd781
Signed-off-by: David Sommerseth <davids@redhat.com>
6bd781
---
6bd781
 src/dmidecode.c |    1 +
6bd781
 1 file changed, 1 insertion(+)
6bd781
6bd781
diff --git a/src/dmidecode.c b/src/dmidecode.c
6bd781
index 215c3f4..dae2fef 100644
6bd781
--- a/src/dmidecode.c
6bd781
+++ b/src/dmidecode.c
6bd781
@@ -1516,6 +1516,7 @@ void dmi_memory_module_size(xmlNode *node, const char *tagname, u8 code)
6bd781
         case 0x7F:
6bd781
                 dmixml_AddAttribute(data_n, "installed", "0");
6bd781
                 check_conn = 0;
6bd781
+                break;
6bd781
         default:
6bd781
                 dmixml_AddAttribute(data_n, "installed", "1");
6bd781
                 dmixml_AddAttribute(data_n, "unit", "MB");
6bd781
-- 
6bd781
1.7.10.2
6bd781
6bd781