From 2998b34306449111c1e15ecd9a9f033d14988007a27f37cce63722e8c6b4f067 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Mon, 18 Feb 2019 13:56:21 +0000 Subject: [PATCH 1/2] - fix lzo memory aliasing issue (bsc#1125616) OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=99 --- syslinux-4.04-lzo.diff | 11 +++++++++++ syslinux.changes | 5 +++++ syslinux.spec | 6 ++++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 syslinux-4.04-lzo.diff diff --git a/syslinux-4.04-lzo.diff b/syslinux-4.04-lzo.diff new file mode 100644 index 0000000..e342183 --- /dev/null +++ b/syslinux-4.04-lzo.diff @@ -0,0 +1,11 @@ +--- lzo/Makefile ++++ lzo/Makefile +@@ -19,6 +19,8 @@ + LIB = lzo.a + BINS = prepcore + ++OPTFLAGS += -fno-strict-aliasing ++ + all : $(BINS) + + $(LIB) : $(LIBOBJS) diff --git a/syslinux.changes b/syslinux.changes index a05221f..9f49a52 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 18 13:53:18 UTC 2019 - snwint@suse.com + +- fix lzo memory aliasing issue (bsc#1125616) + ------------------------------------------------------------------- Wed Nov 28 09:03:05 UTC 2018 - Martin Liška diff --git a/syslinux.spec b/syslinux.spec index 86d8402..a32e147 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -1,7 +1,7 @@ # # spec file for package syslinux # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -61,6 +61,7 @@ Patch19: syslinux-4.04-reproducible.patch Patch20: %{name}-%{version}-python3.diff Patch21: sysmacros.patch Patch22: remove-note-gnu-section.patch +Patch23: %{name}-%{version}-lzo.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -99,6 +100,7 @@ Authors: %patch20 -p0 %patch21 -p1 %patch22 -p1 +%patch23 -p0 %build cp %{SOURCE2} . From 253b31943cb35f7ab1462841374994c5212a83344061f0c99a902d59b36a9113 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Mon, 18 Feb 2019 14:14:13 +0000 Subject: [PATCH 2/2] - syslinux-4.04-lzo.diff: fix lzo memory aliasing issue (bsc#1125616) OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=100 --- syslinux.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslinux.changes b/syslinux.changes index 9f49a52..e2aece8 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Feb 18 13:53:18 UTC 2019 - snwint@suse.com -- fix lzo memory aliasing issue (bsc#1125616) +- syslinux-4.04-lzo.diff: fix lzo memory aliasing issue (bsc#1125616) ------------------------------------------------------------------- Wed Nov 28 09:03:05 UTC 2018 - Martin Liška