Hello community,

here is the log from the commit of package ibacm for openSUSE:Factory checked 
in at 2014-09-06 12:18:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibacm (Old)
 and      /work/SRC/openSUSE:Factory/.ibacm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ibacm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ibacm/ibacm.changes      2014-07-04 
09:34:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ibacm.new/ibacm.changes 2014-09-06 
12:18:16.000000000 +0200
@@ -2 +2 @@
-Wed Jun 25 11:14:23 CEST 2014 - p...@suse.de
+Fri Aug 29 16:39:18 CEST 2014 - p...@suse.de
@@ -4 +4,6 @@
-- Provide full source URL
+- Fix another case of type-punning by using memcpy.
+
+-------------------------------------------------------------------
+Tue Jun  3 11:24:34 CEST 2014 - p...@suse.de
+
+- Update to OFED 3.12 final.

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

Other differences:
------------------
++++++ ibacm.spec ++++++
--- /var/tmp/diff_new_pack.Gk3SCR/_old  2014-09-06 12:18:17.000000000 +0200
+++ /var/tmp/diff_new_pack.Gk3SCR/_new  2014-09-06 12:18:17.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ibacm
 #
-# Copyright (c) 2012-2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 License:        GPL-2.0 or BSD-2-Clause
 Group:          Productivity/Networking/System
 Url:            http://www.openfabrics.org/
-Source:         
https://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM ibacm-no_type_punning.patch
 Patch0:         ibacm-no_type_punning.patch
 BuildRequires:  libibumad-devel

++++++ ibacm-no_type_punning.patch ++++++
--- /var/tmp/diff_new_pack.Gk3SCR/_old  2014-09-06 12:18:17.000000000 +0200
+++ /var/tmp/diff_new_pack.Gk3SCR/_new  2014-09-06 12:18:17.000000000 +0200
@@ -6,14 +6,14 @@
 Replace unsafe type punning by cast by two memcpy and a temp variable.
 
 ---
- src/acm.c |    4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
+ src/acm.c |    7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
 
 Index: src/acm.c
 ===================================================================
---- src/acm.c.orig     2011-09-14 23:48:29.000000000 +0200
-+++ src/acm.c  2012-09-14 13:45:40.262038135 +0200
-@@ -31,6 +31,7 @@
+--- src/acm.c.orig     2013-07-26 06:27:59.000000000 +0200
++++ src/acm.c  2014-08-29 16:52:58.562260193 +0200
+@@ -32,6 +32,7 @@
  #  include <config.h>
  #endif /* HAVE_CONFIG_H */
  
@@ -21,7 +21,7 @@
  #include <stdio.h>
  #include <stdarg.h>
  #include <string.h>
-@@ -1573,7 +1574,7 @@ static void acm_process_timeouts(void)
+@@ -1605,7 +1606,7 @@ static void acm_process_timeouts(void)
                DListRemove(entry);
  
                msg = container_of(entry, struct acm_send_msg, entry);
@@ -30,3 +30,15 @@
  
                acm_format_name(0, log_data, sizeof log_data,
                                rec->dest_type, rec->dest, sizeof rec->dest);
+@@ -2740,8 +2741,10 @@ static int acm_parse_osm_fullv1_paths(FI
+               for (i = 0; i < 2; i++) {
+                       memset(addr, 0, ACM_MAX_ADDRESS);
+                       if (i == 0) {
++                              uint16_t ui_addr;
+                               addr_type = ACM_ADDRESS_LID;
+-                              *((uint16_t *) addr) = htons(dlid);
++                              ui_addr = htons(dlid);
++                              memcpy(&addr, &ui_addr, sizeof(uint16_t));
+                       } else {
+                               addr_type = ACM_ADDRESS_GID;
+                               memcpy(addr, &dgid, sizeof(dgid));

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to