summaryrefslogtreecommitdiff
path: root/apps/app_directed_pickup.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2010-01-15 20:58:24 +0000
committerMark Michelson <mmichelson@digium.com>2010-01-15 20:58:24 +0000
commitfe72baf06b3ea785a6ddc919025363e39cf6ced5 (patch)
tree8356b9adce51893db63014d6df309c0b71ff98e1 /apps/app_directed_pickup.c
parentf94e723a27c22c703fea2f111d7f09a376827e75 (diff)
Make sure to set owner_line, ownder_func, and owner_file in ast_calloc_with_stringfields.
Asterisk would crash on startup if MALLOC_DEBUG were set in menuselect. This is because the manager action UpdateConfig had to resize its string field allocation to set the description. When the resize occurred, ast_copy_string would crash because we were attempting to copy a string from a NULL pointer. Setting the strings initially makes the code much less crashy. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@240420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directed_pickup.c')
0 files changed, 0 insertions, 0 deletions