Re: [PATCH 1/2] imap-send: fix bug causing cfg->folder being set to NULL

2 messages, 2 authors, 2025-05-22 · open the first message on its own page

Re: [PATCH 1/2] imap-send: fix bug causing cfg->folder being set to NULL

From: Junio C Hamano <hidden>
Date: 2025-05-22 19:02:56

Eric Sunshine [off-list ref] writes:
Okay, makes sense. It might be worth mentioning in the commit message
that these copy/paste bugs were introduced by 6d1f198f34 (imap-send:
fix leaking memory in `imap_server_conf`, 2024-06-07).
Definitely a good thing to note in the message, together with the
subtlety that the bug is dependenty on the order in which these
configuration variables appear in the file.

In any case, this may indicate that the population of those who
tried to use imap-send since mid last year, whether they used to use
it happily before last year or they tried to use it anew, must be
very small, or we would have heard about this obvious gotcha by now.

Re: [PATCH 1/2] imap-send: fix bug causing cfg->folder being set to NULL

From: Aditya Garg <hidden>
Date: 2025-05-22 19:04:27


On 23-05-2025 12:32 am, Junio C Hamano wrote:
Eric Sunshine [off-list ref] writes:
quoted
Okay, makes sense. It might be worth mentioning in the commit message
that these copy/paste bugs were introduced by 6d1f198f34 (imap-send:
fix leaking memory in `imap_server_conf`, 2024-06-07).
Definitely a good thing to note in the message, together with the
subtlety that the bug is dependenty on the order in which these
configuration variables appear in the file.

In any case, this may indicate that the population of those who
tried to use imap-send since mid last year, whether they used to use
it happily before last year or they tried to use it anew, must be
very small, or we would have heard about this obvious gotcha by now.
I also just managed to use OAuth2.0 with curl, apparently curl has
dedicated API for this.

Will send a v2 with that fix as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help