1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02: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

@ -1568,7 +1568,7 @@ gc_component_list_options (int component, FILE *out)
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);
}