diff options
Diffstat (limited to 'media-libs/lcms/files')
-rw-r--r-- | media-libs/lcms/files/lcms-CVE-2009-0793.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/media-libs/lcms/files/lcms-CVE-2009-0793.patch b/media-libs/lcms/files/lcms-CVE-2009-0793.patch deleted file mode 100644 index 6cdcc6adcab7..000000000000 --- a/media-libs/lcms/files/lcms-CVE-2009-0793.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN lcms-1.18.orig/src/cmsxform.c lcms-1.18/src/cmsxform.c ---- lcms-1.18.orig/src/cmsxform.c 2009-03-21 11:31:52.000000000 -0400 -+++ lcms-1.18/src/cmsxform.c 2009-04-06 09:24:26.000000000 -0400 -@@ -660,6 +660,9 @@ LPMATSHAPER cmsBuildGrayOutputMatrixShap - GrayTRC = cmsReadICCGamma(hProfile, icSigGrayTRCTag); - FromLstarToXYZ(GrayTRC, Shapes1); - -+ if (GrayTRC == NULL) -+ return NULL; -+ - // Reversing must be done after curve translation - - Shapes[0] = cmsReverseGamma(Shapes1[0]->nEntries, Shapes1[0]); -@@ -675,6 +678,9 @@ LPMATSHAPER cmsBuildGrayOutputMatrixShap - - GrayTRC = cmsReadICCGammaReversed(hProfile, icSigGrayTRCTag); // Y - -+ if (GrayTRC == NULL) -+ return NULL; -+ - Shapes[0] = cmsDupGamma(GrayTRC); - Shapes[1] = cmsDupGamma(GrayTRC); - Shapes[2] = cmsDupGamma(GrayTRC); |