Hello community,

here is the log from the commit of package wicked for openSUSE:Factory checked 
in at 2016-10-14 09:25:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wicked (Old)
 and      /work/SRC/openSUSE:Factory/.wicked.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wicked"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wicked/wicked.changes    2016-10-03 
09:33:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wicked.new/wicked.changes       2016-10-14 
09:25:58.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Oct 10 18:42:38 CEST 2016 - n...@suse.com
+
+- dhcp: fixed to properly append dhcp option data.
+  Bug introduced by changes applied in version 0.6.37 (bsc#988954).
+  [+ 0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch]
+
+-------------------------------------------------------------------

New:
----
  0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch

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

Other differences:
------------------
++++++ wicked.spec ++++++
--- /var/tmp/diff_new_pack.dts9qD/_old  2016-10-14 09:25:59.000000000 +0200
+++ /var/tmp/diff_new_pack.dts9qD/_new  2016-10-14 09:25:59.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package wicked
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -26,6 +26,7 @@
 Url:            https://github.com/openSUSE/wicked
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        wicked-rpmlintrc
+Patch1:         0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch
 #
 # Upstream First - openSUSE Build Service Policy:
 #
@@ -167,6 +168,7 @@
 
 %prep
 %setup
+%patch1 -p1
 
 %build
 test -x ./configure || autoreconf --force --install

++++++ 0001-dhcp-fixed-to-properly-append-dhcp-option-data.patch ++++++
>From 8d8f73574d4b0dd6d6732a8063457874090b1142 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <m...@suse.de>
Date: Mon, 10 Oct 2016 17:09:01 +0200
Subject: [PATCH] dhcp: fixed to properly append dhcp option data


diff --git a/src/dhcp.c b/src/dhcp.c
index ed9e0cf..90081f4 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -80,8 +80,9 @@ ni_dhcp_option_append(ni_dhcp_option_t *opt, unsigned int 
len, unsigned char *da
        if (!newdata)
                return FALSE;
 
-       opt->len = newsize;
+       opt->data = newdata;
        memcpy(opt->data + opt->len, data, len);
+       opt->len  = newsize;
        return TRUE;
 }
 
-- 
2.6.6


Reply via email to