LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File security.patch of Package canna (Project DISCONTINUED:openSUSE:11.1)

diff -ru Canna36p3.orig/server/misc.c Canna36p3/server/misc.c
--- Canna36p3.orig/server/misc.c	2002-12-18 09:29:09.000000000 +0100
+++ Canna36p3/server/misc.c	2003-09-02 18:05:01.000000000 +0200
@@ -723,6 +723,7 @@
       }
     }
     else {
+      if(strlen(DDPATH) >= 256) return( -1 );	    
       strcpy(dichome, DDPATH);
     }