mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-18 21:45:17 +01:00
notmuch-setup.c: Initialize getline(3) response_size to 0
This appears to be necessary on FreeBSD. If this isn't done, we get a nasty segfault. See: id:20101013094340.41580a2f@pioto.org
This commit is contained in:
parent
f7a688ec53
commit
14f1a79f44
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ notmuch_setup_command (unused (void *ctx),
|
||||||
unused (int argc), unused (char *argv[]))
|
unused (int argc), unused (char *argv[]))
|
||||||
{
|
{
|
||||||
char *response = NULL;
|
char *response = NULL;
|
||||||
size_t response_size;
|
size_t response_size = 0;
|
||||||
notmuch_config_t *config;
|
notmuch_config_t *config;
|
||||||
const char **old_other_emails;
|
const char **old_other_emails;
|
||||||
size_t old_other_emails_len;
|
size_t old_other_emails_len;
|
||||||
|
|
Loading…
Add table
Reference in a new issue