1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2008-02-01 Marcus Brinkmann <marcus@g10code.de>

* gpgconf-comp.c (gc_component_list_options): Fix memcpy.
	Reported by Marc Mutz.
This commit is contained in:
Marcus Brinkmann 2008-02-01 20:26:24 +00:00
parent 8ac61bc708
commit b9cb60ec80
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-02-01 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_options): Fix memcpy.
Reported by Marc Mutz.
2008-01-22 Werner Koch <wk@g10code.com> 2008-01-22 Werner Koch <wk@g10code.com>
* gpgconf-comp.c: Use gnupg domain for honor-http-proxy. Make * gpgconf-comp.c: Use gnupg domain for honor-http-proxy. Make

View File

@ -1568,7 +1568,7 @@ gc_component_list_options (int component, FILE *out)
gc_option_t opt_copy; gc_option_t opt_copy;
/* Fix up the group level. */ /* Fix up the group level. */
memcpy (&opt_copy, option, sizeof (opt)); memcpy (&opt_copy, option, sizeof (opt_copy));
opt_copy.level = level; opt_copy.level = level;
list_one_option (&opt_copy, out); list_one_option (&opt_copy, out);
} }