On Wed, Nov 1, 2023 at 5:25 PM Xing Guo <higuoxing(at)gmail(dot)com> wrote:
>
> Hi hackers,
>
> I found that there's a nullable pointer being passed to strcmp() and
> can make the server crash. It can be reproduced on the latest master
> branch by crafting an extension[1]. Patch for fixing it is attatched.
>
> [1] https://github.com/higuoxing/guc_crash/tree/pg
>
Can we set a string guc to NULL? If not, `*lconf->variable == NULL` would
be unnecessary.
> --
> Best Regards,
> Xing
--
Regards
Junwang Zhao