On Wed, Nov 11, 2020 at 10:09:19AM -0600, ed...@pettijohn-web.com wrote: > I'm trying to compile a program that is using a MALLOC_OPTIONS of "A" > which doesn't exist. Reading the manual all of the options look good to > me so what would be the best? I'm going to go with "S" unless otherwise > instructed. > Thanks, > Edgar
A long time ago A existed, not it is the default: if an inconsistency is detected, malloc aborts. While developing and for "sensitive" programs S is best. ssh and sshd use it. If S is too slow, any subset of CFJ might provide a middle ground. Not using any flags is also pretty safe already compared to other malloc implementations. -Otto