mirror of https://git.musl-libc.org/git/musl
Browse Source
commitmaster618b18c78eremoved the previous detection and hardening since it was incorrect. commit72141795d4already handled all that remained for hardening the static-linked case. in the dynamic-linked case, have the dynamic linker check whether malloc was replaced and make that information available. with these changes, the properties documented in commitc9f415d7eaare restored: if calloc is not provided, it will behave as malloc+memset, and any of the memalign-family functions not provided will fail with ENOMEM.
4 changed files with 22 additions and 5 deletions
Loading…
Reference in new issue