#
# The following is a security patch for gnu ghostscript 2.6.1 and later
# For more information, see CERT Advisory CA-95:10
#
*** gs_init.ps.DIST	Thu Aug 31 10:44:49 1995
--- gs_init.ps	Thu Aug 31 10:46:15 1995
***************
*** 302,308 ****
  % If we want a "safer" system, disable some obvious ways to cause havoc.
  SAFER not { (%END SAFER) .skipeof } if
  /file
!  { dup (r) eq
      { file }
      { /invalidfileaccess signalerror }
     ifelse
--- 302,308 ----
  % If we want a "safer" system, disable some obvious ways to cause havoc.
  SAFER not { (%END SAFER) .skipeof } if
  /file
!  { dup (r) eq 2 index (%pipe*) .stringmatch not and
      { file }
      { /invalidfileaccess signalerror }
     ifelse
