Here's a patch for the debian package itself

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
diff -u seahorse-1.0.1/debian/changelog seahorse-1.0.1/debian/changelog
--- seahorse-1.0.1/debian/changelog
+++ seahorse-1.0.1/debian/changelog
@@ -1,3 +1,10 @@
+seahorse (1.0.1-4.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix epiphany extension crash (closes: #422616)
+
+ -- Sam Morris <[EMAIL PROTECTED]>  Mon, 07 May 2007 12:31:59 +0100
+
 seahorse (1.0.1-4) unstable; urgency=low
 
   [ Sebastian Dröge ]
diff -u seahorse-1.0.1/debian/patches/00list seahorse-1.0.1/debian/patches/00list
--- seahorse-1.0.1/debian/patches/00list
+++ seahorse-1.0.1/debian/patches/00list
@@ -4,2 +4,3 @@
 8_force_ssh.dpatch
+9_fix_ephy_crash.dpatch
 10_relibtoolize.dpatch
only in patch2:
unchanged:
--- seahorse-1.0.1.orig/debian/patches/9_fix_ephy_crash.dpatch
+++ seahorse-1.0.1/debian/patches/9_fix_ephy_crash.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 9_fix_ephy_crash.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad seahorse-1.0.1~/plugins/epiphany/seahorse-extension.c seahorse-1.0.1/plugins/epiphany/seahorse-extension.c
+--- seahorse-1.0.1~/plugins/epiphany/seahorse-extension.c	2006-11-09 18:15:25.000000000 +0000
++++ seahorse-1.0.1/plugins/epiphany/seahorse-extension.c	2007-05-07 12:30:53.000000000 +0100
+@@ -476,12 +476,13 @@
+     is_input = mozilla_is_input (embed);
+ 
+     if (is_input == FALSE)
+-        return FALSE;
+-        
+-	text = mozilla_get_text (embed);
++        text = NULL;
++    else
++        text = mozilla_get_text (embed);
+ 	
+ 	if (text != NULL)
+-        texttype = detect_text_type (text, -1, NULL, NULL);   
++        texttype = detect_text_type (text, -1, NULL, NULL);
++      
+ 
+ 	action = gtk_action_group_get_action (data->action_group, ENCRYPT_ACTION);
+ 	g_return_val_if_fail (action != NULL, FALSE);	

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to