diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 20:16:43 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 20:16:43 +0000 |
commit | 4a85704c09d94a57b5b0949952865911ca232a1f (patch) | |
tree | 202280d6cbc914493bb8ff775fff4a02ec8a7d43 /main/say.c | |
parent | 1ddf125073fc2fcee3919822ef85ee660fe56560 (diff) |
Fix an issue that could potentially cause corruption of the global iax frame
queue. In the network_thread() loop, it traverses the list using the
AST_LIST_TRAVERSE_SAFE macro. However, to remove an element of the list within
this loop, it used AST_LIST_REMOVE, instead of AST_LIST_REMOVE_CURRENT, which I
believe could leave some of the internal variables of the SAFE macro invalid.
Mihai says that he already made this change in his local copy and it didn't help
his VNAK storm issues, but I still think it's wrong. :)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77794 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/say.c')
0 files changed, 0 insertions, 0 deletions