summaryrefslogtreecommitdiffstats
path: root/patches/libbsd-0.8.2
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-02-06 18:04:55 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-02-11 09:31:10 +0100
commit23553b3d1dd476ac72a62d945fbbb41141e4a919 (patch)
tree86d44f02dbe01f09c72cadb00e90f07ca3878c22 /patches/libbsd-0.8.2
parentfc4c5ae2fd08adf148c0cf82aa999d5d5195a1a7 (diff)
downloadptxdist-23553b3d1dd476ac72a62d945fbbb41141e4a919.tar.gz
ptxdist-23553b3d1dd476ac72a62d945fbbb41141e4a919.tar.xz
libbsd: bump version to 0.8.2 to fix CVE-2016-2090
Bump the version to 0.8.2, which includes a fix for the heap buffer overflow in fgetwln (CVE-2016-2090). Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> [mol: don't forget the patch] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/libbsd-0.8.2')
-rw-r--r--patches/libbsd-0.8.2/0001-use-I-instead-of-isystem-for-local-path.patch39
l---------patches/libbsd-0.8.2/autogen.sh1
-rw-r--r--patches/libbsd-0.8.2/series4
3 files changed, 44 insertions, 0 deletions
diff --git a/patches/libbsd-0.8.2/0001-use-I-instead-of-isystem-for-local-path.patch b/patches/libbsd-0.8.2/0001-use-I-instead-of-isystem-for-local-path.patch
new file mode 100644
index 000000000..c919ce965
--- /dev/null
+++ b/patches/libbsd-0.8.2/0001-use-I-instead-of-isystem-for-local-path.patch
@@ -0,0 +1,39 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Wed, 12 Feb 2014 11:28:04 +0100
+Subject: [PATCH] use '-I' instead of '-isystem' for local path
+
+Otherwise e.g. a 'md5.h' from system paths may be used instead of the
+local one.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ src/Makefile.am | 2 +-
+ test/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 4649937bb891..265c631d7e70 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -2,7 +2,7 @@
+
+ AM_CPPFLAGS = \
+ -I$(top_builddir) \
+- -isystem $(top_srcdir)/include/bsd/ \
++ -I$(top_srcdir)/include/bsd/ \
+ -include $(top_builddir)/config.h \
+ -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
+ -D__REENTRANT
+diff --git a/test/Makefile.am b/test/Makefile.am
+index 9b79f06540ce..dcc7d1d55914 100644
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -7,7 +7,7 @@ HEADERS_CPPFLAGS = \
+ -D__REENTRANT
+
+ AM_CPPFLAGS = \
+- -isystem $(top_srcdir)/include/bsd/ \
++ -I$(top_srcdir)/include/bsd/ \
+ $(HEADERS_CPPFLAGS) \
+ -DLIBBSD_OVERLAY
+
diff --git a/patches/libbsd-0.8.2/autogen.sh b/patches/libbsd-0.8.2/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libbsd-0.8.2/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/patches/libbsd-0.8.2/series b/patches/libbsd-0.8.2/series
new file mode 100644
index 000000000..4e941d98e
--- /dev/null
+++ b/patches/libbsd-0.8.2/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-use-I-instead-of-isystem-for-local-path.patch
+# 11cd8d3f722f73a2447389987314e113 - git-ptx-patches magic