File gocr-overflow.patch of Package gocr

--- frontend/gnome/src/functions.c
+++ frontend/gnome/src/functions.c
@@ -335,7 +335,7 @@
   gtk_widget_show ( GTK_WIDGET (label));
   if ( Path == NULL)
     {
-      Path = g_malloc(strlen("/usr/bin/gocr\0"+1));
+      Path = g_malloc(strlen("/usr/bin/gocr")+1);
       sprintf(Path,"/usr/bin/gocr");
     }
 
openSUSE Build Service is sponsored by