mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fixed bug 842 (segv in gpgconf)
This commit is contained in:
parent
917ee1d5fd
commit
bea6c580f2
@ -1,3 +1,8 @@
|
|||||||
|
2007-10-19 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* gpgconf-comp.c (retrieve_options_from_file): Don't call fclose
|
||||||
|
with NULL. Fixes bug 842.
|
||||||
|
|
||||||
2007-10-12 Werner Koch <wk@g10code.com>
|
2007-10-12 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
|
* gpg-connect-agent.c (substitute_line): Allow ${foo} syntax.
|
||||||
|
@ -1880,7 +1880,7 @@ retrieve_options_from_file (gc_component_t component, gc_backend_t backend)
|
|||||||
list_option->active = 1;
|
list_option->active = 1;
|
||||||
list_option->value = list;
|
list_option->value = list;
|
||||||
|
|
||||||
if (fclose (list_file) && ferror (list_file))
|
if (list_file && fclose (list_file) && ferror (list_file))
|
||||||
gc_error (1, errno, "error closing %s", list_pathname);
|
gc_error (1, errno, "error closing %s", list_pathname);
|
||||||
xfree (line);
|
xfree (line);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user