-
- Downloads
Fix memory corruption when trying to get "core show locks".
Review https://reviewboard.asterisk.org/r/2580/ tried to fix the mismatch in memory pools but had a math error determining the buffer size and didn't address other similar memory pool mismatches. * Effectively reverted the previous patch to go in the same direction as trunk for the returned memory pool of ast_bt_get_symbols(). * Fixed memory leak in ast_bt_get_symbols() when BETTER_BACKTRACES is defined. * Fixed some formatting in ast_bt_get_symbols(). * Fixed sig_pri.c freeing memory allocated by libpri when MALLOC_DEBUG is enabled. * Fixed __dump_backtrace() freeing memory from ast_bt_get_symbols() when MALLOC_DEBUG is enabled. * Moved __dump_backtrace() because of compile issues with the utils directory. (closes issue ASTERISK-22221) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2778/ ........ Merged revisions 397525 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@397528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- channels/sig_pri.c 1 addition, 1 deletionchannels/sig_pri.c
- include/asterisk/astmm.h 6 additions, 0 deletionsinclude/asterisk/astmm.h
- include/asterisk/lock.h 0 additions, 16 deletionsinclude/asterisk/lock.h
- include/asterisk/logger.h 1 addition, 1 deletioninclude/asterisk/logger.h
- include/asterisk/utils.h 6 additions, 10 deletionsinclude/asterisk/utils.h
- main/astmm.c 25 additions, 0 deletionsmain/astmm.c
- main/astobj2.c 1 addition, 1 deletionmain/astobj2.c
- main/lock.c 17 additions, 0 deletionsmain/lock.c
- main/logger.c 32 additions, 48 deletionsmain/logger.c
- main/utils.c 1 addition, 1 deletionmain/utils.c
Loading
Please register or sign in to comment