4 ms·
The malloc(3) family will absolutely fail on OpenBSD, for many reasons: login.conf/ulimits, calloc(3) for when integer overflow is detected (nmemb * size), same
by brynet 7y ago
The malloc(3) family will absolutely fail on OpenBSD, for many reasons: login.conf/ulimits, calloc(3) for when integer overflow is detected (nmemb * size), same for OpenBSD's reallocarray extension. And yes, because the system was unable to satisfy the requested allocation.
Linux overcommit, and developer mindset is a detriment to software quality and portability.
- jiveturkey 7y agoThat's a needlessly confrontational statement. Yet I find myself in agreement. Sigh.