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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: got_blame memory leak
To:
Kyle Ackerman <kackerman0102@gmail.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 26 Mar 2024 17:02:04 +0100

Download raw body.

Thread
On Mon, Mar 25, 2024 at 03:30:24PM -0500, Kyle Ackerman wrote:
> Here is a diff with the rewritten logic.

Thanks!

> blob - c956fa4a7551d6ffe10a3bd5888209dde0a148b8
> file + lib/object_open_privsep.c
> --- lib/object_open_privsep.c
> +++ lib/object_open_privsep.c
> @@ -24,6 +24,7 @@
>  
>  #include <errno.h>
>  #include <imsg.h>
> +#include <stddef.h>
>  #include <stdio.h>
>  #include <stdint.h>
>  #include <stdlib.h>


What is the purpose of including stddef.h?
Is it to ensure the definition of NULL?

Did you see an issue where this broke the build somewhere?