[asterisk-bugs] [JIRA] (ASTERISK-22467) [patch] memory leaks 1.8+
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Thu Sep 5 02:15:03 CDT 2013
Corey Farrell created ASTERISK-22467:
----------------------------------------
Summary: [patch] memory leaks 1.8+
Key: ASTERISK-22467
URL: https://issues.asterisk.org/jira/browse/ASTERISK-22467
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Applications/app_voicemail, Channels/chan_dahdi, Channels/chan_sip/General, Codecs/codec_ilbc, Core/General, Core/Jitterbuffer, Functions/func_math, Tests/General
Affects Versions: SVN, 1.8.24.0, 11.6.0, 12.0.0-alpha2
Reporter: Corey Farrell
Severity: Minor
Patches for memory leaks found with 'test execute all'. Compile/run tests done for 1.8/11. Compile only test for 12, for trunk I only verified that the patches applied.
channels/sip/reqresp_parser.c: parse_contact_header_test leaks contacts
channels/chan_dahdi.c: pfds from do_monitor() leaks
codecs/ilbc/doCPLC.c: doThePLC() possible uninitialized use of max_per (reported as error by gcc with dev-mode and codec's embedded)
funcs/func_math.c: test_MATH_function leaks expr + result
main/editline/readline.c: filename completion leaks filename/dirname
main/app.c: ast_app_parse_timelen() can use 'amount' uninitialized (reported by valgrind)
main/asterisk.c: listener thread not joined, sig_alert_pipe not closed
main/astobj2.c: AO2_DEBUG/TEST_FRAMEWORK cli commands not unregistered
main/data.c: test not unregistered
main/test.c: cli commands not unregistered
tests/test_dlinklist.c: dll_tests leaks test container and record "b"
apps/app_voicemail.c: result of find_user is leaked in some places
-- test_voicemail_msgcount (all versions)
-- acf_vm_info in (11+).
main/jitterbuffer.c:
-- jb_reset() causes frame cache (jb->free) to leak.
-- switch jb_new to ast_calloc to prevent uninitialized field access during first jb_reset.
main/utils.c:
-- DEBUG_THREADS cli commands not unregistered (all versions)
-- dev_urandom_fd is not closed (11+)
-- handle_show_locks leaks ast_str_create (1.8/11)
tests/test_linkedlist.c:
-- single_ll_tests leaks buf (all versions)
-- double_ll_tests leaks buf (11+)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list