diff options
author | Jonathan Rose <jrose@digium.com> | 2012-04-17 21:10:50 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2012-04-17 21:10:50 +0000 |
commit | f88a632d96bb3ed76976b2f32f5d7b7e8591afa9 (patch) | |
tree | af95e26373900d175d853edbc817658fa205acbe /res/res_calendar_caldav.c | |
parent | 3934b0478d4962a81fcc5d20b75dbfc3aceb398e (diff) |
Make use of va_args more appropriate to form in various res_config modules plus utils.
A number of va_copy operations weren't matched with a corresponding va_end in res_config_odbc. Also, there was a potential for va_end to be invoked twice on the same va_arg in utils, which would mean invoking va_end on an undefined variable... which is bad.
va_end is removed from various functions in config_pgsql and config_curl since they aren't making their own copy. The invokers of those functions are responsible for calling va_end on them.
(issue ASTERISK-19451)
Reported by: Walter Doekes
Review: https://reviewboard.asterisk.org/r/1848/
........
Merged revisions 362354 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 362357 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_calendar_caldav.c')
0 files changed, 0 insertions, 0 deletions