kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/gksu-context.c

Gustavo Noronha kov at costa.debian.org
Mon Oct 3 00:47:07 UTC 2005


Mensagem de log: 
	* libgksu/gksu-context.c:
	- fix logic problem when checking if what was read does not
	  start with "gksu" or "su" - thanks to Guilherme de S. Pastore
          for spotting the problematic range of code (Debian bug #331124)



-----


Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog	2005-10-03 00:45:22 UTC (rev 453)
+++ libgksu/trunk/ChangeLog	2005-10-03 00:47:07 UTC (rev 454)
@@ -1,3 +1,10 @@
+2005-10-02  Gustavo Noronha Silva  <kov at debian.org>
+
+	* libgksu/gksu-context.c:
+	- fix logic problem when checking if what was read does not
+	  start with "gksu" or "su" - thanks to Guilherme de S. Pastore
+          for spotting the problematic range of code (Debian bug #331124)
+
 2005-09-29  Gustavo Noronha Silva  <kov at debian.org>
 
 	* Release 1.3.5

Modified: libgksu/trunk/libgksu/gksu-context.c
===================================================================
--- libgksu/trunk/libgksu/gksu-context.c	2005-10-03 00:45:22 UTC (rev 453)
+++ libgksu/trunk/libgksu/gksu-context.c	2005-10-03 00:47:07 UTC (rev 454)
@@ -892,7 +892,7 @@
       
       if (context->debug)
 	fprintf (stderr, "DEBUG (run:after-pass) buf: -%s-\n", buf);
-      if (strncmp (buf, "gksu", 4) || strncmp (buf, "su", 2))
+      if (strncmp (buf, "gksu", 4) && strncmp (buf, "su", 2))
 	{
 	  bzero (buf, 256);
 	  /* drop the \n echoed on password entry if su did request




More information about the gksu-commits mailing list