From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
Cc: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: printf %s with NULL pointer (was Re: BUG #17098: Assert failed on composing an error message when adding a type to an extension being dropped) |
Date: | 2021-07-14 16:26:40 |
Message-ID: | 3517180.1626280000@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
> In this particular case, I would for example be quite curious how those
> alternative minimal C libraries such as musl-libc handle this.
Interesting question, so I took a look:
https://git.musl-libc.org/cgit/musl/tree/src/stdio/vfprintf.c#n593
case 's':
a = arg.p ? arg.p : "(null)";
...
Any others you'd like to consider?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-07-14 16:41:24 | Re: printf %s with NULL pointer (was Re: BUG #17098: Assert failed on composing an error message when adding a type to an extension being dropped) |
Previous Message | Tom Lane | 2021-07-14 14:43:15 | Re: Windows locale cause server to send invalid data encoding to client |
From | Date | Subject | |
---|---|---|---|
Next Message | Euler Taveira | 2021-07-14 16:30:33 | Re: row filtering for logical replication |
Previous Message | vignesh C | 2021-07-14 16:22:13 | Re: VACUUM (DISABLE_PAGE_SKIPPING on) |