Hello community,
here is the log from the commit of package imx-usb-loader for openSUSE:Factory checked in at 2017-01-17 14:35:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/imx-usb-loader (Old)
and /work/SRC/openSUSE:Factory/.imx-usb-loader.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "imx-usb-loader"
Changes:
--------
--- /work/SRC/openSUSE:Factory/imx-usb-loader/imx-usb-loader.changes 2016-01-23 01:16:31.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.imx-usb-loader.new/imx-usb-loader.changes 2017-01-17 14:35:15.822794681 +0100
@@ -1,0 +2,9 @@
+Thu Jan 12 13:10:53 UTC 2017 - guillaume@opensuse.org
+
+- Update to git20161227:
+ * Lots of code fixes
+ * Remove obsolete mx53_usbarmory_work.conf
+ * Fix mx53_usb_work.conf
+- Update fix_strncat_overflow.patch
+
+-------------------------------------------------------------------
Old:
----
imx_usb_loader-1448568817.349286e.tar.bz2
New:
----
imx_usb_loader-1482852643.ba6b31c.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ imx-usb-loader.spec ++++++
--- /var/tmp/diff_new_pack.myvr3e/_old 2017-01-17 14:35:16.266731746 +0100
+++ /var/tmp/diff_new_pack.myvr3e/_new 2017-01-17 14:35:16.266731746 +0100
@@ -1,7 +1,7 @@
#
# spec file for package imx-usb-loader
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Guillaume GARDET
#
# All modifications and additions to the file contributed by third parties
@@ -17,10 +17,10 @@
#
-%define git_version 1448568817.349286e
+%define git_version 1482852643.ba6b31c
Name: imx-usb-loader
-Version: 0.0~git20151126
+Version: 0.0~git20161227
Release: 0
Summary: Vybrid/i.MX recovery utility
License: LGPL-2.1+
@@ -41,7 +41,7 @@
%prep
%setup -q -n imx_usb_loader-%{git_version}
-%patch1 -p1
+%patch1
%build
CFLAGS="$RPM_OPT_FLAGS" \
@@ -59,7 +59,6 @@
%config %{_sysconfdir}/imx-loader.d/mx50_usb_work.conf
%config %{_sysconfdir}/imx-loader.d/mx51_usb_work.conf
%config %{_sysconfdir}/imx-loader.d/mx53_usb_work.conf
-%config %{_sysconfdir}/imx-loader.d/mx53_usbarmory_work.conf
%config %{_sysconfdir}/imx-loader.d/mx6_usb_work.conf
%config %{_sysconfdir}/imx-loader.d/mx7_usb_work.conf
%config %{_sysconfdir}/imx-loader.d/vybrid_usb_work.conf
++++++ fix_strncat_overflow.patch ++++++
--- /var/tmp/diff_new_pack.myvr3e/_old 2017-01-17 14:35:16.298727210 +0100
+++ /var/tmp/diff_new_pack.myvr3e/_new 2017-01-17 14:35:16.302726643 +0100
@@ -1,12 +1,12 @@
-diff --git a/imx_sdp.c b/imx_sdp.c
-index 3dec8d5..4f069bd 100644
---- a/imx_sdp.c
-+++ b/imx_sdp.c
-@@ -144,7 +144,7 @@ char const *conf_path_ok(char const *conf_path, char const *conf_file)
- static char conf[512];
+--- imx_sdp.c.orig 2017-01-12 14:26:14.747359336 +0100
++++ imx_sdp.c 2017-01-12 14:28:23.420331377 +0100
+@@ -141,8 +141,8 @@ char const *conf_path_ok(char const *con
+ static char sep = PATH_SEPARATOR;
strncpy(conf, conf_path, sizeof(conf));
+- strncat(conf, &sep, sizeof(conf));
- strncat(conf, conf_file, sizeof(conf));
++ strncat(conf, &sep, sizeof(conf) - strlen(conf) - 1);
+ strncat(conf, conf_file, sizeof(conf) - strlen(conf) - 1);
if (access(conf, R_OK) != -1) {
printf("config file <%s>\n", conf);
++++++ imx_usb_loader-1448568817.349286e.tar.bz2 -> imx_usb_loader-1482852643.ba6b31c.tar.bz2 ++++++
++++ 4165 lines of diff (skipped)