[Asterisk-code-review] func iconv: Ensure output strings are properly terminated. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Thu Feb 11 14:41:44 CST 2016


Joshua Colp has posted comments on this change.

Change subject: func_iconv: Ensure output strings are properly terminated.
......................................................................


Patch Set 1:

The iconv function moves where buf is pointing to, and since we allow space at the end for the terminating character (with this change) it will point to the last spot.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id75ad202300960a1e91afe15e319d992936ecc17
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Badalian Vyacheslav <v.badalyan at open-bs.ru>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list