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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Le 24 mai 2025 à 12:28, Ben Knoble <ben.knoble@xxxxxxxxx> a écrit :
> 
> 
>> Le 22 mai 2025 à 14:26, Eric Sunshine <sunshine@xxxxxxxxxxxxxx> 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 ;)




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux