Hello community,

here is the log from the commit of package iucode-tool for openSUSE:Factory 
checked in at 2017-04-12 17:32:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iucode-tool (Old)
 and      /work/SRC/openSUSE:Factory/.iucode-tool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iucode-tool"

Wed Apr 12 17:32:38 2017 rev:4 rq:482453 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/iucode-tool/iucode-tool.changes  2017-01-15 
11:20:59.757606597 +0100
+++ /work/SRC/openSUSE:Factory/.iucode-tool.new/iucode-tool.changes     
2017-04-12 18:11:44.207961821 +0200
@@ -1,0 +2,10 @@
+Fri Mar 24 10:00:20 UTC 2017 - [email protected]
+
+- Update to version 2.1.2:
+  * iucode_tool: skip small files as if empty in the -tr loader
+  * iucode_tool: silence a harmless -Wmissing-field-initializers warning
+  * iucode_tool: compare payloads of similar (not just duplicate) MCUs
+  * intel-microcode: validade xx_intel_ucode_check_uc() parameters
+  * Ready for release: v2.1.2
+
+-------------------------------------------------------------------

Old:
----
  iucode-tool-2.1.1.tar.xz

New:
----
  iucode-tool-2.1.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ iucode-tool.spec ++++++
--- /var/tmp/diff_new_pack.w0p65N/_old  2017-04-12 18:11:44.687893958 +0200
+++ /var/tmp/diff_new_pack.w0p65N/_new  2017-04-12 18:11:44.691893393 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           iucode-tool
-Version:        2.1.1
+Version:        2.1.2
 Release:        0
 Summary:        A program to manipulate Intel microcode update collections
 License:        GPL-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.w0p65N/_old  2017-04-12 18:11:44.719889434 +0200
+++ /var/tmp/diff_new_pack.w0p65N/_new  2017-04-12 18:11:44.723888868 +0200
@@ -4,8 +4,8 @@
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>
     <param name="filename">iucode-tool</param>
-    <param name="revision">refs/tags/v2.1.1</param>
-    <param name="version">2.1.1</param>
+    <param name="revision">refs/tags/v2.1.2</param>
+    <param name="version">2.1.2</param>
   </service>
   <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.w0p65N/_old  2017-04-12 18:11:44.755884344 +0200
+++ /var/tmp/diff_new_pack.w0p65N/_new  2017-04-12 18:11:44.755884344 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param 
name="url">https://gitlab.com/iucode-tool/iucode-tool.git</param>
-          <param 
name="changesrevision">657ce44ac462bcec35a3e12f9e7f53ca92ae62b7</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">ff3f90f4855dacfe22727d100e7abe0a7a68c7cc</param></service></servicedata>
\ No newline at end of file

++++++ iucode-tool-2.1.1.tar.xz -> iucode-tool-2.1.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iucode-tool-2.1.1/ChangeLog 
new/iucode-tool-2.1.2/ChangeLog
--- old/iucode-tool-2.1.1/ChangeLog     2017-01-13 12:24:00.000000000 +0100
+++ new/iucode-tool-2.1.2/ChangeLog     2017-02-15 23:34:22.000000000 +0100
@@ -1,3 +1,19 @@
+2017-02-15, iucode_tool v2.1.2
+
+  * iucode_tool: compare payloads of similar (not just duplicate) MCUs
+    Within the same signature, if two microcodes have the same revision,
+    and can be installed on the same processor, their payload contents
+    ought to be the same.  However, we would only compare the payloads of
+    microcodes with the exactly same processor flags mask, which is not
+    enough.  Fix it.  Note: this issue not present in Intel-issued
+    microcode seen in the field.
+  * iucode_tool: skip small files as if empty in the -tr loader
+    Make the recovery loader behave the same for empty files and files
+    that are too small to contain any microcode: report that there were no
+    microcodes found in the file, and skip the file.
+  * intel-microcode: validade xx_intel_ucode_check_uc() parameters
+  * iucode_tool: silence a harmless -Wmissing-field-initializers warning
+
 2017-01-11, iucode_tool v2.1.1
 
   * intel_microcode, iucode_tool: enhance microcode scan API
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iucode-tool-2.1.1/README new/iucode-tool-2.1.2/README
--- old/iucode-tool-2.1.1/README        2017-01-13 12:24:00.000000000 +0100
+++ new/iucode-tool-2.1.2/README        2017-02-15 23:34:22.000000000 +0100
@@ -2,8 +2,8 @@
 
        iucode_tool - IntelĀ® 64 and IA-32 processor microcode tool
 
-                            Version 2.1.1
-                         January 11th,  2017
+                            Version 2.1.2
+                         February 15th, 2017
 
                     https://gitlab.com/iucode-tool
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iucode-tool-2.1.1/configure.ac 
new/iucode-tool-2.1.2/configure.ac
--- old/iucode-tool-2.1.1/configure.ac  2017-01-13 12:24:00.000000000 +0100
+++ new/iucode-tool-2.1.2/configure.ac  2017-02-15 23:34:22.000000000 +0100
@@ -17,7 +17,7 @@
 dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 AC_PREREQ([2.69])
-AC_INIT([iucode_tool], [2.1.1],
+AC_INIT([iucode_tool], [2.1.2],
        [https://gitlab.com/iucode-tool/iucode-tool/issues],
        [iucode-tool],
        [https://gitlab.com/iucode-tool/iucode-tool/wikis/home])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iucode-tool-2.1.1/intel_microcode.c 
new/iucode-tool-2.1.2/intel_microcode.c
--- old/iucode-tool-2.1.1/intel_microcode.c     2017-01-13 12:24:00.000000000 
+0100
+++ new/iucode-tool-2.1.2/intel_microcode.c     2017-02-15 23:34:22.000000000 
+0100
@@ -374,6 +374,9 @@
        const struct intel_ucode_v1_hdr * const uc_header = uc;
        unsigned int i;
 
+       if (unlikely(!uc || (strict && !IS_PTR_ALIGNED(uc, sizeof(uint32_t)))))
+               return INTEL_UCODE_BAD_PARAMETERS;
+
        if (unlikely(maxlen < INTEL_UC_MINSIZE))
                return INTEL_UCODE_INVALID_DATA;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iucode-tool-2.1.1/iucode_tool.c 
new/iucode-tool-2.1.2/iucode_tool.c
--- old/iucode-tool-2.1.1/iucode_tool.c 2017-01-13 12:24:00.000000000 +0100
+++ new/iucode-tool-2.1.2/iucode_tool.c 2017-02-15 23:34:22.000000000 +0100
@@ -365,11 +365,17 @@
 
        /* look for duplicates, stop on the first */
        while (likely(*pnext) && (*pnext)->cpuid == cpuid) {
-               if ((*pnext)->pfm == pf_mask && (*pnext)->uc_rev == uc_rev) {
-                       res = EEXIST;
-                       flags |= INTEL_UCLE_DUPSIG;
-                       d = *pnext;
-                       break;
+               if ((*pnext)->uc_rev == uc_rev) {
+                       if ((*pnext)->pfm == pf_mask) {
+                               res = EEXIST;
+                               flags |= INTEL_UCLE_DUPSIG;
+                               d = *pnext;
+                               break;
+                       } else if (((*pnext)->pfm & pf_mask)) {
+                               /* not a DUPSIG, but we need to
+                                * compare the payloads */
+                               d = *pnext;
+                       }
                }
                pnext = &((*pnext)->next);
        }
@@ -1005,7 +1011,7 @@
 
        /* sanity check size */
        if (mcb_size < INTEL_UC_MINSIZE) {
-               err = (mcb_size) ? EINVAL : ENOENT;
+               err = (mcb_size && !scan) ? EINVAL : ENOENT;
                goto err_out;
        }
 
@@ -1057,7 +1063,7 @@
 
        mcb_size = pos;
        if (mcb_size < INTEL_UC_MINSIZE) {
-               err = (mcb_size) ? EINVAL : ENOENT;
+               err = (mcb_size && !scan) ? EINVAL : ENOENT;
                goto err_out;
        }
 
@@ -2924,7 +2930,7 @@
           "Abort on broken microcode entries (default)",
          56 },
 
-       { 0 },
+       { .name = NULL },
 };
 static const char cmdline_nonarg_doc[] = "[[-t<type>] filename] ...";
 


Reply via email to