mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
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
13 lines
397 B
Diff
13 lines
397 B
Diff
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)
|
|
{
|