diff options
author | Richard Mudgett <rmudgett@digium.com> | 2014-06-23 16:04:33 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2014-06-23 16:04:33 +0000 |
commit | eb2aded25c185437ad219dfa07d8f1a5d1775b42 (patch) | |
tree | dbe8009a148b045ab497a0df0afb780d12aad860 /pbx | |
parent | 3451d6a72d0499a83d82ce03d00d2156a1258c8b (diff) |
core_unreal: Fix off by one buffer overwrite error.
Appending the ;2 to the user supplied ;1 uniqueid to create the ;2 version
if the user did not also supply an extra uniqueid for the ;2 channel
resulted in allocating a buffer that was one byte too small.
* Fix off by one error in ast_unreal_new_channels() when generating the ;2
uniqueid from the user suppled ;1 version.
* Pulled some long assignment lines from if tests to improve line break
readability in ast_unreal_new_channels().
........
Merged revisions 417119 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
0 files changed, 0 insertions, 0 deletions