Re: [BUG] NULL pointer dereference

Florian Weimer <[email protected]> Mon, 08 Sep 2025 20:03:16 +0200
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
* Paul Eggert:

> On 2025-09-05 20:14, Collin Funk wrote:
>> This patch works fine, with some formatting adjustments.
>> But maybe it is just better to use fprintf, which can handle NULL
>> pointers.
>
> fprintf can handle null pointers?

The glibc implementation does.  It's not portable.

Thanks,
Florian