diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-28 22:52:02 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-28 22:52:02 +0000 |
commit | 98197a94a97c33f3a5b0f951d13fe0ecbcd92c8c (patch) | |
tree | 6641ee97c25084de42b2f33b8eed299b592bd399 /main/dnsmgr.c | |
parent | 667187be08b1c7c155afbda3bcfa377fbfe73955 (diff) |
Merged revisions 111908-111909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r111908 | russell | 2008-03-28 17:45:43 -0500 (Fri, 28 Mar 2008) | 3 lines
Note a minor race condition that I noticed while reviewing Jeff's changes
to this code.
........
r111909 | russell | 2008-03-28 17:50:46 -0500 (Fri, 28 Mar 2008) | 3 lines
Make some notes about common usage of pbx_builtin_getvar_helper() that is not
thread-safe.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111910 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dnsmgr.c')
-rw-r--r-- | main/dnsmgr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/dnsmgr.c b/main/dnsmgr.c index 0989f6315..19fd1baa7 100644 --- a/main/dnsmgr.c +++ b/main/dnsmgr.c @@ -21,6 +21,11 @@ * \brief Background DNS update manager * * \author Kevin P. Fleming <kpfleming@digium.com> + * + * \bug There is a minor race condition. In the event that an IP address + * of a dnsmgr managed host changes, there is the potential for the consumer + * of that address to access the in_addr data at the same time that the dnsmgr + * thread is in the middle of updating it to the new address. */ #include "asterisk.h" |