diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-07-30 17:58:50 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-07-30 17:58:50 +0000 |
commit | a5d91f957efa56577a5ffba1400ff3152762bcc9 (patch) | |
tree | 516a058f7a1d458bcca78c5304b34e0b8ffc1cb8 /app-office/koffice/files | |
parent | Fix for bug 187139. (diff) | |
download | gentoo-2-a5d91f957efa56577a5ffba1400ff3152762bcc9.tar.gz gentoo-2-a5d91f957efa56577a5ffba1400ff3152762bcc9.tar.bz2 gentoo-2-a5d91f957efa56577a5ffba1400ff3152762bcc9.zip |
Fix for bug 187139.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'app-office/koffice/files')
-rw-r--r-- | app-office/koffice/files/digest-koffice-1.6.3-r1 | 3 | ||||
-rw-r--r-- | app-office/koffice/files/koffice-xpdf-CVE-2007-3387.diff | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/app-office/koffice/files/digest-koffice-1.6.3-r1 b/app-office/koffice/files/digest-koffice-1.6.3-r1 new file mode 100644 index 000000000000..0dc1fc75f716 --- /dev/null +++ b/app-office/koffice/files/digest-koffice-1.6.3-r1 @@ -0,0 +1,3 @@ +MD5 386d388094734f9759977c3267098e30 koffice-1.6.3.tar.bz2 56829391 +RMD160 e474ba48fa983fafb61ad58fb79cddda69ec6908 koffice-1.6.3.tar.bz2 56829391 +SHA256 c3975f0a59f50aaa5547f1709b6fad54f746fd06815859b374676b426dce12cb koffice-1.6.3.tar.bz2 56829391 diff --git a/app-office/koffice/files/koffice-xpdf-CVE-2007-3387.diff b/app-office/koffice/files/koffice-xpdf-CVE-2007-3387.diff new file mode 100644 index 000000000000..ded0e07205a7 --- /dev/null +++ b/app-office/koffice/files/koffice-xpdf-CVE-2007-3387.diff @@ -0,0 +1,20 @@ +--- filters/kword/pdf/xpdf/xpdf/Stream.cc ++++ filters/kword/pdf/xpdf/xpdf/Stream.cc +@@ -413,13 +413,11 @@ StreamPredictor::StreamPredictor(Stream + predLine = NULL; + ok = gFalse; + +- if (width <= 0 || nComps <= 0 || nBits <= 0 || +- nComps >= INT_MAX / nBits || +- width >= INT_MAX / nComps / nBits) +- return; +- + nVals = width * nComps; +- if (nVals * nBits + 7 <= 0) ++ if (width <= 0 || nComps <= 0 || nBits <= 0 || ++ nComps >= 4 || nBits > 16 || ++ width >= INT_MAX / nComps || ++ nVals >= (INT_MAX - 7) / nBits) + return; + + pixBytes = (nComps * nBits + 7) >> 3; |