Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mmalloc] Use mremap to expand heaps (heap collision prevention)
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 25 Apr 2014 08:05:10 +0000 (10:05 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 13 May 2014 10:40:58 +0000 (12:40 +0200)
commitba3185d8a4f0a56804d3b1ff24e596096f06a37c
tree06ed8ae3f8e89708a176a1df63b729b1ce020fc4
parent72680ab46a46b8f1ae2dbfb56581968206f4e3b1
[mmalloc] Use mremap to expand heaps (heap collision prevention)

mremap() will fail instead of overwriting an existing memory mappingĀ :
the first heap could silently overflow on the second one.
src/xbt/mmalloc/mmorecore.c