[Home]

Summary:ASTERISK-26452: cel_odbc: Memory leak on reading configuration
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2016-10-09 21:52:05Date Closed:2016-10-30 13:40:40
Priority:MinorRegression?
Status:Closed/CompleteComponents:CEL/cel_odbc
Versions:13.11.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Direct leak of 48 byte(s) in 1 object(s) allocated from:
   #0 0x7f50d1bbad50 in __interceptor_calloc (/usr/local/lib64/libasan.so.3+0xc1d50)
   #1 0x5abf46 in _ast_calloc /usr/src/asterisk/include/asterisk/utils.h:573
   #2 0x5b1db8 in ast_config_new /usr/src/asterisk/main/config.c:1382
   #3 0x5bd091 in ast_config_load2 /usr/src/asterisk/main/config.c:3140
   #4 0x7f50a638e15d in load_config /usr/src/asterisk/cel/cel_odbc.c:108
   #5 0x7f50a6394be5 in load_module /usr/src/asterisk/cel/cel_odbc.c:814
   #6 0x67441c in start_resource /usr/src/asterisk/main/loader.c:1026
   #7 0x676574 in load_resource_list /usr/src/asterisk/main/loader.c:1290
   #8 0x677523 in load_modules /usr/src/asterisk/main/loader.c:1451
   #9 0x49444a in asterisk_daemon /usr/src/asterisk/main/asterisk.c:4615
   #10 0x493794 in main /usr/src/asterisk/main/asterisk.c:4372
   #11 0x7f50cef39b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)


Patch will be provided in Gerrit
Comments:By: Asterisk Team (asteriskteam) 2016-10-09 21:52:06.248-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Badalian Vyacheslav (slavon) 2016-10-09 21:56:18.680-0500

https://gerrit.asterisk.org/#/c/4042/

By: Badalian Vyacheslav (slavon) 2016-10-30 13:40:40.346-0500

Fixed in git