andrei 2010/03/12 14:50:06 CET
SER CVS Repository
Modified files:
mem f_malloc.c
Log:
mem: fix f_malloc big fragments bug
In some situation, when dealing with several big free fragments
(>16k) f_malloc would wrongly choose a fragment with a smaller
size then requested. This would create the impression that someone
arbitrarily overwrites the memory.
First symptoms were some tls crashes reported by
Klaus Darilion klaus.darilion(a)nic.at.
Reproduced using the malloc_test module.
(backported from sip-router,
commit c7099d0a1204120277cf662cc05ab35180d89538)
Revision Changes Path
1.29 +3 -3 sip_router/mem/f_malloc.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/mem/f_malloc.c.dif…