diff options
author | Corey Farrell <git@cfware.com> | 2018-01-04 16:37:52 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2018-01-04 16:50:04 -0500 |
commit | cfb88f3ac13104549f8561aa1fc0f965a279574a (patch) | |
tree | 4099a238137e5f31d3d1b1968f28e0c4d0d03602 /UPGRADE-1.6.txt | |
parent | 4eccf697e1c9ee87655cf8a56449dc353cec8a66 (diff) |
pbx: Prevent execution of NULL pointer.
pbx_extension_helper has a check for q->swo.exec == NULL but it doesn't
actually return so we would still run the function. Fix the return.
Move the 'int res' variable into the only scope which uses it.
Also fix a copy-paste error in ast_pbx_init which could result in a
crash on allocation failure (we exit with a normal error instead).
Change-Id: I0693af921fdc7f56b6a72a21fb816ed08b960a69
Diffstat (limited to 'UPGRADE-1.6.txt')
0 files changed, 0 insertions, 0 deletions