diff options
author | Corey Farrell <git@cfware.com> | 2014-11-19 19:31:13 +0000 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2014-11-19 19:31:13 +0000 |
commit | 8fb20cb05d2c6c2694d16adacc1c65e4a85f5a89 (patch) | |
tree | 8dfca47eec42d28cc415d1ce5fdbb6734f9003d6 /main/uri.c | |
parent | 524588c345b527182ee923fcfe5b843980cf232a (diff) |
stringfields: Fix bug in ast_string_fields_copy.
ast_string_fields_copy relies on the fact that
__ast_string_field_release_active never previously
zeroed pool->used, so keeping the existing pointer
was "ok". Now that existing pools can be reset to
'empty', it is important to set each field to
__ast_string_field_empty after releasing the memory.
ASTERISK-24535 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4186/
........
Merged revisions 428272 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/uri.c')
0 files changed, 0 insertions, 0 deletions