"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: Fix got-read-gotconfig SIGSEGV when using "send" config block
To:
Renato Aguiar <renato@renatoaguiar.net>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 27 Jun 2025 08:53:50 +0200

Download raw body.

Thread
On Thu, Jun 26, 2025 at 08:50:37PM -0700, Renato Aguiar wrote:
> Hi,
> 
> I got the following error when trying to run "got fetch" with a "send"
> block in got.conf:
> 
>     "got: unprivileged process died unexpectedly"
> 
> Digged down a bit and found out that got-read-gotconfig is being
> terminated with SIGSEGV while trying to free a NULL pointer. That is
> caused by "free_send_config" function referencing the global variable
> "remote" instead of the its own argument.

Thanks Renato.  Applied and shipped in the 0.115 release just now.