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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   25-Aug-2004 13:20:26
  Branch: HEAD                             Handle: 2004082512202600

  Modified files:
    openpkg-src/ghostscript ghostscript.patch ghostscript.spec

  Log:
    Security Bugfixes (CAN-2004-0797, OpenPKG-SA-2004.038-zlib)

  Summary:
    Revision    Changes     Path
    1.10        +36 -0      openpkg-src/ghostscript/ghostscript.patch
    1.61        +1  -1      openpkg-src/ghostscript/ghostscript.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.patch
  ============================================================================
  $ cvs diff -u -r1.9 -r1.10 ghostscript.patch
  --- openpkg-src/ghostscript/ghostscript.patch 16 Aug 2004 18:22:29 -0000      1.9
  +++ openpkg-src/ghostscript/ghostscript.patch 25 Aug 2004 11:20:26 -0000      1.10
  @@ -15,6 +15,11 @@
       /* other archs may want to add defines here, 
          or use the fallbacks in std.h */
    #endif /* !HAVE_STDINT_H */
  +
  +-----------------------------------------------------------------------------
  +
  +Port to ZLIB 1.2.1
  +
   Index: src/zlib.mak
   --- src/zlib.mak.orig        2002-05-09 18:29:16.000000000 +0200
   +++ src/zlib.mak     2004-01-03 09:39:03.000000000 +0100
  @@ -49,3 +54,34 @@
    $(ZGEN)zlibd_0.dev : $(ZLIB_MAK) $(ECHOGS_XE) $(ZGEN)zlibc.dev $(zlibd_)
        $(SETMOD) $(ZGEN)zlibd_0 $(zlibd1_)
   
  +-----------------------------------------------------------------------------
  +
  +Security Bugfixes (CAN-2004-0797, OpenPKG-SA-2004.038-zlib):
  +
  +Index: zlib/infback.c
  +--- zlib/infback.c.orig      2003-08-12 01:48:06 +0200
  ++++ zlib/infback.c   2004-08-25 12:37:07 +0200
  +@@ -434,6 +434,9 @@
  +                 }
  +             }
  + 
  ++            if (state->mode == BAD)
  ++                break;
  ++
  +             /* build code tables */
  +             state->next = state->codes;
  +             state->lencode = (code const FAR *)(state->next);
  +Index: zlib/inflate.c
  +--- zlib/inflate.c.orig      2003-10-26 07:15:36 +0100
  ++++ zlib/inflate.c   2004-08-25 12:37:07 +0200
  +@@ -861,6 +861,9 @@
  +                 }
  +             }
  + 
  ++            if (state->mode == BAD)
  ++                break;
  ++
  +             /* build code tables */
  +             state->next = state->codes;
  +             state->lencode = (code const FAR *)(state->next);
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ghostscript/ghostscript.spec
  ============================================================================
  $ cvs diff -u -r1.60 -r1.61 ghostscript.spec
  --- openpkg-src/ghostscript/ghostscript.spec  16 Aug 2004 18:22:29 -0000      1.60
  +++ openpkg-src/ghostscript/ghostscript.spec  25 Aug 2004 11:20:26 -0000      1.61
  @@ -43,7 +43,7 @@
   Group:        Graphics
   License:      Aladdin
   Version:      %{V_real}
  -Release:      20040816
  +Release:      20040825
   
   #   package options
   %option       with_x11     yes
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to