[Asterisk-code-review] CLI: Address multiple issues. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Tue Dec 19 12:44:22 CST 2017


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/7663 )

Change subject: CLI: Address multiple issues.
......................................................................


Patch Set 1:

(1 comment)

Update will follow to use ast_asprintf.

https://gerrit.asterisk.org/#/c/7663/1/main/cli.c
File main/cli.c:

https://gerrit.asterisk.org/#/c/7663/1/main/cli.c@1525
PS1, Line 1525: 	output = ast_str_create(8192);
              : 	if (!output) {
              : 		return CLI_FAILURE;
              : 	}
> Just move this block down closer to where output is actually used and you w
Then I'd have to release the channel in this error block.



-- 
To view, visit https://gerrit.asterisk.org/7663
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I8f633ceb1714867ae30ef4e421858f77c14485a9
Gerrit-Change-Number: 7663
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Tue, 19 Dec 2017 18:44:22 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171219/37e874ac/attachment.html>


More information about the asterisk-code-review mailing list