]> git.pld-linux.org Git - packages/cups.git/blame - cups-gcc4.patch
- security fix for a DoS vulnerability (CAN-2005-2097)
[packages/cups.git] / cups-gcc4.patch
CommitLineData
72a7780d
MM
1--- cups-1.1.23/pdftops/GfxFont.cxx~ 2004-02-02 22:41:09.000000000 +0000
2+++ cups-1.1.23/pdftops/GfxFont.cxx 2005-05-03 12:20:55.203368520 +0000
3@@ -969,7 +969,7 @@
4 if ((nameToGID = ff->getNameToGID())) {
5 for (i = 0; i < 256; ++i) {
6 if (!map[i] && (charName = enc[i])) {
7- map[i] = (Gushort)(int)nameToGID->lookup(charName);
8+ map[i] = (Gushort)(long)nameToGID->lookup(charName);
9 }
10 }
11 delete nameToGID;
This page took 0.073127 seconds and 4 git commands to generate.