Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
aports
Commits
4418ddad
Commit
4418ddad
authored
Aug 15, 2012
by
Natanael Copa
Browse files
main/tiff: security fix (CVE-2012-3401)
fixes #1328
parent
df0a65d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
main/tiff/APKBUILD
View file @
4418ddad
...
...
@@ -2,7 +2,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname
=
tiff
pkgver
=
3.9.6
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Provides support for the Tag Image File Format or TIFF"
url
=
"http://www.libtiff.org/"
arch
=
"all"
...
...
@@ -13,6 +13,7 @@ makedepends="libtool autoconf automake $depends_dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev
$pkgname
-tools"
source
=
"ftp://ftp.remotesensing.org/pub/libtiff/
$pkgname
-
$pkgver
.tar.gz
libtiff-negsize-3.9.patch
CVE-2012-3401.patch
"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
...
...
@@ -50,4 +51,5 @@ tools() {
}
md5sums
=
"6920f3bf628d791d49f268b83612ed23 tiff-3.9.6.tar.gz
a0742e7c81551c51438a8d6fa5d68676 libtiff-negsize-3.9.patch"
a0742e7c81551c51438a8d6fa5d68676 libtiff-negsize-3.9.patch
8c862de25b906d3fcefce2fb06c7b604 CVE-2012-3401.patch"
main/tiff/CVE-2012-3401.patch
0 → 100644
View file @
4418ddad
diff -Naur tiff-4.0.2.orig/tools/tiff2pdf.c tiff-4.0.2/tools/tiff2pdf.c
--- tiff-4.0.2.orig/tools/tiff2pdf.c 2012-06-15 17:51:54.000000000 -0400
+++ tiff-4.0.2/tools/tiff2pdf.c 2012-07-05 13:34:36.569691068 -0400
@@ -1066,6 +1066,7 @@
"Can't set directory %u of input file %s",
i,
TIFFFileName(input));
+ t2p->t2p_error = T2P_ERR_ERROR;
return;
}
if(TIFFGetField(input, TIFFTAG_PAGENUMBER, &pagen, &paged)){
Natanael Copa
@ncopa
mentioned in issue
#1328 (closed)
·
Jul 12, 2019
mentioned in issue
#1328 (closed)
mentioned in issue #1328
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment