Re: [PATCH] lib: fix memory error in notmuch_config_list_value

2019-12-09 Thread Daniel Kahn Gillmor
On Mon 2019-11-25 19:21:24 +0200, Tomi Ollila wrote: > On Sun, Nov 24 2019, David Bremner wrote: > >> The documentation for notmuch_config_list_key warns that that the >> returned value will be destroyed by the next call to >> notmuch_config_list_key, but it neglected to mention that calling >> not

Re: [PATCH] lib: fix memory error in notmuch_config_list_value

2019-11-25 Thread Tomi Ollila
On Sun, Nov 24 2019, David Bremner wrote: > The documentation for notmuch_config_list_key warns that that the > returned value will be destroyed by the next call to > notmuch_config_list_key, but it neglected to mention that calling > notmuch_config_list_value would also destroy it (by calling > n

[PATCH] lib: fix memory error in notmuch_config_list_value

2019-11-24 Thread David Bremner
The documentation for notmuch_config_list_key warns that that the returned value will be destroyed by the next call to notmuch_config_list_key, but it neglected to mention that calling notmuch_config_list_value would also destroy it (by calling notmuch_config_list_key). This is surprising, and caus