diff options
-rw-r--r-- | tools/ChangeLog | 5 | ||||
-rw-r--r-- | tools/gpgconf-comp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog index 469b5431a..1539490a2 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,8 @@ +2008-02-01 Marcus Brinkmann <[email protected]> + + * gpgconf-comp.c (gc_component_list_options): Fix memcpy. + Reported by Marc Mutz. + 2008-01-22 Werner Koch <[email protected]> * gpgconf-comp.c: Use gnupg domain for honor-http-proxy. Make diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 7470f421f..813b6b935 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -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); } |