summaryrefslogtreecommitdiff
path: root/codecs/g722
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-10-01 14:55:10 +0000
committerRussell Bryant <russell@russellbryant.com>2007-10-01 14:55:10 +0000
commit7c01bf15df4921fbf3f7b3675bd5cdc19774d1e9 (patch)
tree6538319ce959f9f282cf8b24cfbae83e80fd9cb0 /codecs/g722
parentdf30de142cfc292e73b578439b7666f9b411fb01 (diff)
Don't set the full command string until after verifying that there is not
another CLI command with the same command text registered. This prevents a crash if someone accidentally calls ast_cli_register() on the same CLI command data twice. This also fixes a small bug where the helpers list would get unlocked without being locked if building the full command failed. (closes issue #10858, reported by jamesgolovich, patched by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/g722')
0 files changed, 0 insertions, 0 deletions