Em Tue, 31 Oct 2006 12:21:54 +0000
Anthony Callegaro <[EMAIL PROTECTED]> escreveu:

> Hey Gustavo,

Hey Anthony!

> I still have no ideas why it is working with 2.0.2 and not 2.0.3 but I
> found a workaround... a simple xhost +localhost will do the trick :o)

Yeah, it will =) although it is not the best option from a security
point of view, in some environments.

> I'm sure it will solve the issue for Julien as well. I'm not sure if
> you still want to consider this as a regression bug, or a
> configuration issue from us.

I actually found the problem, and it would be great if you guys could
try out the package I'm making available here:

http://people.debian.org/~kov/stuff/libgksu2-0_2.0.3-1_i386.deb

It includes a small patch to fix the problem, which I'm attaching to
this email. If it works for you I'll upload a fixed deb to Debian
unstable asap.

Thanks a lot for the bug report and aditional information provided!

See you,

-- 
  Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://www.debian.org/ | http://kov.eti.br/
Index: libgksu/libgksu.c
===================================================================
--- libgksu/libgksu.c	(revisão 751)
+++ libgksu/libgksu.c	(revisão 754)
@@ -658,6 +658,10 @@
       password = g_locale_from_utf8 (found->secret,
 				     password_length,
 				     NULL, NULL, NULL);
+      password_length = strlen (password);
+
+      if (password[password_length-1] == '\n')
+	password[password_length-1] = '\0';
       return password;
     }
 

Reply via email to