[asterisk-bugs] [JIRA] (ASTERISK-26519) MemLeak: confbridge/conf_config_parser.c

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sat Oct 29 08:16:10 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233085#comment-233085 ] 

Asterisk Team commented on ASTERISK-26519:
------------------------------------------

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].

> MemLeak: confbridge/conf_config_parser.c
> ----------------------------------------
>
>                 Key: ASTERISK-26519
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26519
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.12.1
>            Reporter: Badalian Vyacheslav
>
> {code}
> Direct leak of 4112 byte(s) in 1 object(s) allocated from:
>     #0 0x7f1c09773d50 in __interceptor_calloc (/usr/local/lib64/libasan.so.3+0xc1d50)
>     #1 0x7f1bc237ab7f in _ast_calloc /usr/src/asterisk/include/asterisk/utils.h:573
>     #2 0x7f1bc238191c in add_action_to_menu_entry confbridge/conf_config_parser.c:1106
>     #3 0x7f1bc2382340 in add_menu_entry confbridge/conf_config_parser.c:1245
>     #4 0x7f1bc238de10 in menu_option_handler confbridge/conf_config_parser.c:2051
>     #5 0x5c7bde in aco_process_var /usr/src/asterisk/main/config_options.c:737
>     #6 0x5c7daf in aco_process_category_options /usr/src/asterisk/main/config_options.c:750
>     #7 0x5c62b7 in process_category /usr/src/asterisk/main/config_options.c:520
>     #8 0x5c6756 in internal_process_ast_config /usr/src/asterisk/main/config_options.c:559
>     #9 0x5c7356 in aco_process_config /usr/src/asterisk/main/config_options.c:682
>     #10 0x7f1bc238ef26 in conf_load_config confbridge/conf_config_parser.c:2160
>     #11 0x7f1bc2376f81 in load_module /usr/src/asterisk/apps/app_confbridge.c:3927
>     #12 0x674ccc in start_resource /usr/src/asterisk/main/loader.c:1026
>     #13 0x676e24 in load_resource_list /usr/src/asterisk/main/loader.c:1290
>     #14 0x677dd3 in load_modules /usr/src/asterisk/main/loader.c:1451
>     #15 0x4944e5 in asterisk_daemon /usr/src/asterisk/main/asterisk.c:4615
>     #16 0x49382f in main /usr/src/asterisk/main/asterisk.c:4372
>     #17 0x7f1c06af2b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
> {code}
> Here:
> {code}
> 			if (!(b_data->menu = menu_alloc("dialplan"))) {
> {code}
> But i don't understand logic and can't fix it



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list