Репозитории ALT
S: | 5.1.2-alt7 |
D: | 5.1.2-alt1 |
5.1: | 5.1.2-alt3 |
4.1: | 5.0.2-alt2 |
4.0: | 5.0.2-alt1.M40.1 |
+backports: | 5.0.2-alt1.M40.1 |
3.0: | 5.0.2-alt1 |
Группа :: Система/Библиотеки
Пакет: t1lib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: t1lib-5.1.2-CVE-2011-0764.patch
Скачать
Скачать
CVE-2011-0764
Author: Marc Deslauriers <marc.deslauriers@canonical.com>
Origin: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/t1lib/wily/view/head:/debian/patches/CVE-2011-0764.diff
--- t1lib-5.1.2.orig/lib/type1/type1.c 2011-12-13 14:24:14.280965637 -0600
+++ t1lib-5.1.2/lib/type1/type1.c 2011-12-13 14:25:25.893320747 -0600
@@ -1700,6 +1700,7 @@
long pindex = 0;
/* compute hinting for previous segment! */
+ if (ppoints == NULL) Error0i("RLineTo: No previous point!\n");
FindStems( currx, curry, currx-ppoints[numppoints-2].x, curry-ppoints[numppoints-2].y, dx, dy);
/* Allocate a new path point and pre-setup data */
@@ -1728,6 +1729,7 @@
long pindex = 0;
/* compute hinting for previous point! */
+ if (ppoints == NULL) Error0i("RRCurveTo: No previous point!\n");
FindStems( currx, curry, currx-ppoints[numppoints-2].x, curry-ppoints[numppoints-2].y, dx1, dy1);
/* Allocate three new path points and pre-setup data */
@@ -1903,6 +1905,7 @@
FindStems( currx, curry, 0, 0, dx, dy);
}
else {
+ if (ppoints == NULL) Error0i("RMoveTo: No previous point!\n");
FindStems( currx, curry, ppoints[numppoints-2].x, ppoints[numppoints-2].y, dx, dy);
}