[Kamailio-Devel] SF.net SVN: openser:[4885] trunk/modules/nathelper/nathelper.c

Henning Westerholt henning.westerholt at 1und1.de
Thu Sep 11 15:34:47 CEST 2008


Revision: 4885
          http://openser.svn.sourceforge.net/openser/?rev=4885&view=rev
Author:   henningw
Date:     2008-09-11 13:34:46 +0000 (Thu, 11 Sep 2008)

Log Message:
-----------
- fix bug in nathelper:child_init which could cause a SIGCHILD
- pnode->rn_address is written to without proper precaution
  - process A removes the colon
  - process B detects there is no colon (because A removed it)
  - process A restores the colon
  - process B invokes getaddrinfo on the restored string, which is an
    invalid hostname
- store hostname temporary string in pkg_mem to prevent this bug
- patch #2105556 from anonymous submitter, related to bug #2092890

Modified Paths:
--------------
    trunk/modules/nathelper/nathelper.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list