Looks like the Linux malloc has no randomization or we can say has similar addresses between parent and child but it differs in the case of
Is my understanding correct?
CC
Conversation
You're right that glibc malloc doesn't perform randomization. The design leads to more determinism rather than just not disrupting it. In general, it has very weak security properties (determinism is one aspect) and is friendly to exploitation rather than a hostile environment.

