[asterisk-bugs] [JIRA] (ASTERISK-21311) CLI command 'module load' attempts to free unallocated memory on tab completion

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Fri Mar 22 11:52:01 CDT 2013


Jonathan Rose created ASTERISK-21311:
----------------------------------------

             Summary: CLI command 'module load' attempts to free unallocated memory on tab completion
                 Key: ASTERISK-21311
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21311
             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

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