Sujet : Re: avoiding strdup()
De : spibou (at) *nospam* gmail.com (Spiros Bousbouras)
Groupes : comp.lang.cDate : 11. Mar 2024, 20:45:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <caIp5UwudOJvMTdVb@bongo-ra.co>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
On Mon, 11 Mar 2024 10:13:12 -0700
Keith Thompson <Keith.S.Thompson+
u@gmail.com> wrote:
One data point: On my Ubuntu system, malloc(SIZE_MAX) returns NULL for
very large arguments (over about 23 GiB in my quick and dirty test).
You lost me there.