Thread (198 messages) 198 messages, 6 authors, 2025-06-20

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

From: Ben Knoble <hidden>
Date: 2025-05-24 16:32:45

Le 24 mai 2025 à 12:28, Ben Knoble [off-list ref] a écrit :


quoted
Le 22 mai 2025 à 14:26, Eric Sunshine [off-list ref] a écrit :

  ret = socket_write(&ctx->imap->buf.sock, response, strlen(response));
  free(response);
  if (ret != strlen(response))
      return error("IMAP error: sending response failed");
  return 0;
Apologies if I missed something , but : strlen _after_ free?
Ah, others caught this already (and I hadn’t finished reading yet). I really need to find a way to queue up my messages and then go back after finishing a thread and edit before sending ;)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help