-
- Downloads
Fix incorrect usages of ast_realloc().
There are several locations in the code base where this is done: buf = ast_realloc(buf, new_size); This is going to leak the original buf contents if the realloc fails. Review: https://reviewboard.asterisk.org/r/2832/ ........ Merged revisions 398757 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@398758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- funcs/func_dialgroup.c 7 additions, 1 deletionfuncs/func_dialgroup.c
- main/asterisk.c 45 additions, 23 deletionsmain/asterisk.c
- main/cli.c 27 additions, 6 deletionsmain/cli.c
- main/event.c 5 additions, 1 deletionmain/event.c
- main/heap.c 7 additions, 6 deletionsmain/heap.c
- main/indications.c 5 additions, 2 deletionsmain/indications.c
- main/xmldoc.c 8 additions, 5 deletionsmain/xmldoc.c
- res/res_musiconhold.c 11 additions, 5 deletionsres/res_musiconhold.c
Loading
Please register or sign in to comment