[sr-dev] CVS:commitlog: sip_router/mem f_malloc.c

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Mar 12 16:08:22 CET 2010


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 at 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.diff?r1=1.28&r2=1.29



More information about the sr-dev mailing list