[asterisk-bugs] [JIRA] (ASTERISK-21349) CLI command 'module load' attempts to free unallocated memory on tab completion
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Fri Mar 29 09:48:02 CDT 2013
Rusty Newton created ASTERISK-21349:
---------------------------------------
Summary: CLI command 'module load' attempts to free unallocated memory on tab completion
Key: ASTERISK-21349
URL: https://issues.asterisk.org/jira/browse/ASTERISK-21349
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/General
Affects Versions: SVN
Reporter: Jonathan Rose
I discovered this while working on something with don't optimize and malloc debug enabled. I can confirm that these warnings don't appear normally without malloc debug. Reproduction is simple:
1. run asterisk. type 'module load'
2. attempt to tab complete
3. watch the errors spew out at a rate of one per tab completed item
error messages appear in the following form:
WARNING: Freeing unregistered memory <address> by cli.c complete_fn() line 253
If you add some characters to reduce the number of matches against tab completion, the number of error messages decreases.
The problem does not occur in 1.8. It does occur in trunk r383579 (most recent version at the time of report) and in 11 r383601.
--
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