aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgit2/libressl.patch
diff options
context:
space:
mode:
authorSergey Lukin <sergej.lukin@gmail.com>2017-01-26 07:56:15 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-26 15:56:07 +0000
commit8a9c19caf7beab76554fea239c4ba9a2d2ec95de (patch)
treeaa783f2673eb5eeeda4ef8d5fd8abd730ed6fca8 /main/libgit2/libressl.patch
parent7c959f50e351cf74579797aa28a1f1f77c68fbc3 (diff)
downloadaports-8a9c19caf7beab76554fea239c4ba9a2d2ec95de.tar.bz2
aports-8a9c19caf7beab76554fea239c4ba9a2d2ec95de.tar.xz
main/libgit2: security upgrade to 0.25.1 - fixes #6739
CVE-2016-10128: smart_pkt: verify packet length exceeds PKT_LEN_SIZE CVE-2016-10129: smart_pkt: treat empty packet lines as error CVE-2016-10130: http: check certificate validity before clobbering the error variable
Diffstat (limited to 'main/libgit2/libressl.patch')
-rw-r--r--main/libgit2/libressl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/libgit2/libressl.patch b/main/libgit2/libressl.patch
new file mode 100644
index 0000000000..967cdc4982
--- /dev/null
+++ b/main/libgit2/libressl.patch
@@ -0,0 +1,12 @@
+diff -ru src.orig/libgit2-0.25.1/src/openssl_stream.h src/libgit2-0.25.1/src/openssl_stream.h
+--- libgit2-0.25.1/src/copenssl_stream.h.orig
++++ libgit2-0.25.1/src/openssl_stream.h
+@@ -27,7 +27,7 @@
+
+
+
+-# if OPENSSL_VERSION_NUMBER < 0x10100000L
++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+
+ GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
+ {