OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   06-Jul-2005 20:04:03
  Branch: OPENPKG_2_3_SOLID                Handle: 2005070619040003

  Modified files:           (Branch: OPENPKG_2_3_SOLID)
    openpkg-src/ghostscript ghostscript.patch ghostscript.spec

  Log:
    Fix zlib security issue (OpenPKG-SA-2005.013, CAN-2005-2096)

  Summary:
    Revision    Changes     Path
    1.10.4.1    +17 -0      openpkg-src/ghostscript/ghostscript.patch
    1.66.2.3    +1  -1      openpkg-src/ghostscript/ghostscript.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.patch
  ============================================================================
  $ cvs diff -u -r1.10 -r1.10.4.1 ghostscript.patch
  --- openpkg-src/ghostscript/ghostscript.patch 25 Aug 2004 11:20:26 -0000      
1.10
  +++ openpkg-src/ghostscript/ghostscript.patch 6 Jul 2005 18:04:00 -0000       
1.10.4.1
  @@ -85,3 +85,20 @@
                state->next = state->codes;
                state->lencode = (code const FAR *)(state->next);
   
  +-----------------------------------------------------------------------------
  +
  +Security Bugfixes (CAN-2005-2096, OpenPKG-SA-2005.013)
  +
  +Index: zlib/inftrees.c
  +--- zlib/inftrees.c.orig     2004-09-15 16:30:06 +0200
  ++++ zlib/inftrees.c  2005-07-06 18:31:14 +0200
  +@@ -134,7 +134,7 @@
  +         left -= count[len];
  +         if (left < 0) return -1;        /* over-subscribed */
  +     }
  +-    if (left > 0 && (type == CODES || (codes - count[0] != 1)))
  ++    if (left > 0 && (type == CODES || max != 1))
  +         return -1;                      /* incomplete set */
  + 
  +     /* generate offsets into symbol table for each length for sorting */
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.spec
  ============================================================================
  $ cvs diff -u -r1.66.2.2 -r1.66.2.3 ghostscript.spec
  --- openpkg-src/ghostscript/ghostscript.spec  21 Feb 2005 18:57:56 -0000      
1.66.2.2
  +++ openpkg-src/ghostscript/ghostscript.spec  6 Jul 2005 18:04:03 -0000       
1.66.2.3
  @@ -43,7 +43,7 @@
   Group:        Graphics
   License:      Aladdin
   Version:      %{V_real}
  -Release:      2.3.0
  +Release:      2.3.1
   
   #   package options
   %option       with_x11     yes
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to