diff options
author | Marcus Brinkmann <mb@g10code.com> | 2008-02-01 21:26:24 +0100 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2008-02-01 21:26:24 +0100 |
commit | b9cb60ec806ac52d62dc18bb9e84ec2c2d36ee42 (patch) | |
tree | 4bb9321eae905bbddd24dbb0972a994493c9a110 /tools | |
parent | 2008-01-29 Marcus Brinkmann <marcus@g10code.de> (diff) | |
download | gnupg2-b9cb60ec806ac52d62dc18bb9e84ec2c2d36ee42.tar.xz gnupg2-b9cb60ec806ac52d62dc18bb9e84ec2c2d36ee42.zip |
2008-02-01 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_options): Fix memcpy.
Reported by Marc Mutz.
Diffstat (limited to 'tools')
-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 <marcus@g10code.de> + + * gpgconf-comp.c (gc_component_list_options): Fix memcpy. + Reported by Marc Mutz. + 2008-01-22 Werner Koch <wk@g10code.com> * 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); } |