diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-07-12 23:02:31 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-07-12 23:02:31 +0000 |
commit | ef8cbd877102c8fe70cf3cd682f262086c9dfdeb (patch) | |
tree | adcdfdbc2c8b72ab8741bd5b37d50333a356f369 /configs/features.conf.sample | |
parent | 6324f36910aa179dae8faa835ebf0a160f42daf8 (diff) |
Merged revisions 327950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r327950 | kpfleming | 2011-07-12 17:53:53 -0500 (Tue, 12 Jul 2011) | 14 lines
Correct double-free situation in manager output processing.
The process_output() function calls ast_str_append() and xml_translate() on its
'out' parameter, which is a pointer to an ast_str buffer. If either of these
functions need to reallocate the ast_str so it will have more space, they will
free the existing buffer and allocate a new one, returning the address of the
new one. However, because process_output only receives a pointer to the ast_str,
not a pointer to its caller's variable holding the pointer, if the original
ast_str is freed, the caller will not know, and will continue to use it (and
later attempt to free it).
(reported by jkroon on #asterisk-dev)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@327953 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/features.conf.sample')
0 files changed, 0 insertions, 0 deletions