mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-21 05:32:40 +02:00
main/claws-mail: fix segfault for gnutls-3.1.3
This commit is contained in:
parent
ff1b2c1b2d
commit
91c7ace2ec
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=claws-mail
|
||||
pkgver=3.8.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A GTK+ based e-mail client."
|
||||
url="http://www.claws-mail.org"
|
||||
arch="all"
|
||||
@ -19,6 +19,7 @@ depends=
|
||||
install=
|
||||
source="http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.bz2
|
||||
libc-version.patch
|
||||
gnutls313.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
@ -89,4 +90,5 @@ smime() {
|
||||
}
|
||||
|
||||
md5sums="d388929fb1c8f04d4bcb2139faaf9e70 claws-mail-3.8.1.tar.bz2
|
||||
f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch"
|
||||
f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch
|
||||
21bdc9d324f9424e0071bb73be169977 gnutls313.patch"
|
||||
|
||||
12
main/claws-mail/gnutls313.patch
Normal file
12
main/claws-mail/gnutls313.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/common/ssl_certificate.c b/src/common/ssl_certificate.c
|
||||
index efc5c53..8303f3e 100644
|
||||
--- a/src/common/ssl_certificate.c
|
||||
+++ b/src/common/ssl_certificate.c
|
||||
@@ -92,6 +92,7 @@
|
||||
size_t size;
|
||||
gnutls_datum tmp;
|
||||
gnutls_x509_crt dest;
|
||||
+ size = 0;
|
||||
|
||||
if (gnutls_x509_crt_init(&dest) != 0) {
|
||||
g_warning("couldn't gnutls_x509_crt_init\n");
|
||||
Loading…
x
Reference in New Issue
Block a user