[Serusers] SER crashed with DBG_QM_MALLOC on

Marian Dumitru marian.dumitru at voice-sistem.ro
Fri Mar 25 12:05:37 CET 2005


Hi Sun Zongjun,

Looks like you discover a bug of yours - you have a buffer overflow 
(write more than allocated) in the added functions. Only when compiled 
with DBG_QM_MALLOC, extra checkings to detect such memory bugs are 
performed.

Best regards,
Marian

szj wrote:
>  I tested SER which have beed mofified by me.
> The SER crahed with DBG_QM_MALLOC on, it report
> 
>  >qm_*: prev. fragm. tail overwritten(c0003433, 
> abcdefed)[0x814f284:0x814f29c]!
> this happened in one of my function which called pkg_malloc().
> this function is located in the tm module.
> 
>  But if comment the DBG_QM_MALLOC in the
> Makefile.defs , then compile SER, it never
> crashes.
>  Who can tell me what that mean??
>  Thanks for your help.
> 
> Best Regards.
> Sun Zongjun
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers


-- 
Voice Sistem
http://www.voice-sistem.ro




More information about the sr-users mailing list