Your message dated Sun, 25 Mar 2007 20:52:41 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing for experimental version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: evince
Version: 0.4.0-2
Severity: critical
Tags: security, patch

This is the same vulnerability as reported against gv as bug 398292, 
since evince has old gv code embedded (I've updated the wiki to reflect 
this: http://wiki.debian.org/EmbeddedCodeCopies)

Patch attached (applies to both 0.4.0 and 0.6.1).

-- 
Kees Cook                                            @outflux.net
diff -Nur evince-0.4.0/ps/ps.c evince-0.4.0.new/ps/ps.c
--- evince-0.4.0/ps/ps.c        2005-06-17 06:33:00.000000000 -0700
+++ evince-0.4.0.new/ps/ps.c    2006-12-04 12:28:32.280683848 -0800
@@ -1225,6 +1225,9 @@
     quoted = 1;
     line++;
     while(*line && !(*line == ')' && level == 0)) {
+      if (cp - text >= PSLINELENGTH - 2) {
+        return NULL;
+      }
       if(*line == '\\') {
         if(*(line + 1) == 'n') {
           *cp++ = '\n';
@@ -1295,8 +1298,12 @@
     }
   }
   else {
-    while(*line && !(*line == ' ' || *line == '\t' || *line == '\n'))
+    while(*line && !(*line == ' ' || *line == '\t' || *line == '\n')) {
+      if (cp - text >= PSLINELENGTH - 2) {
+        return NULL;
+      }
       *cp++ = *line++;
+    }
   }
   *cp = '\0';
   if(next_char)

--- End Message ---
--- Begin Message ---
Version: 0.8.0-1
Package: evince

Heya,

This bug wasn't yet marked as closed for the version in experimental,
but is in fact fixed.

Marc
-- 
BOFH #406:
Bad cafeteria food landed all the sysadmins in the hospital.

--- End Message ---

Reply via email to