[svn] GnuPG - r4687 - trunk/tools

svn author marcus cvs at cvs.gnupg.org
Fri Feb 1 21:26:24 CET 2008


Author: marcus
Date: 2008-02-01 21:26:24 +0100 (Fri, 01 Feb 2008)
New Revision: 4687

Modified:
   trunk/tools/ChangeLog
   trunk/tools/gpgconf-comp.c
Log:
2008-02-01  Marcus Brinkmann  <marcus at g10code.de>

	* gpgconf-comp.c (gc_component_list_options): Fix memcpy.
	Reported by Marc Mutz.


Modified: trunk/tools/ChangeLog
===================================================================
--- trunk/tools/ChangeLog	2008-01-30 17:21:28 UTC (rev 4686)
+++ trunk/tools/ChangeLog	2008-02-01 20:26:24 UTC (rev 4687)
@@ -1,3 +1,8 @@
+2008-02-01  Marcus Brinkmann  <marcus at g10code.de>
+
+	* gpgconf-comp.c (gc_component_list_options): Fix memcpy.
+	Reported by Marc Mutz.
+
 2008-01-22  Werner Koch  <wk at g10code.com>
 
 	* gpgconf-comp.c: Use gnupg domain for honor-http-proxy.  Make

Modified: trunk/tools/gpgconf-comp.c
===================================================================
--- trunk/tools/gpgconf-comp.c	2008-01-30 17:21:28 UTC (rev 4686)
+++ trunk/tools/gpgconf-comp.c	2008-02-01 20:26:24 UTC (rev 4687)
@@ -1568,7 +1568,7 @@
 	      gc_option_t opt_copy;
 
 	      /* Fix up the group level.  */
-	      memcpy (&opt_copy, option, sizeof (opt));
+	      memcpy (&opt_copy, option, sizeof (opt_copy));
 	      opt_copy.level = level;
 	      list_one_option (&opt_copy, out);
 	    }




More information about the Gnupg-commits mailing list