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/gpgconf-comp.c | |
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/gpgconf-comp.c')
-rw-r--r-- | tools/gpgconf-comp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |