Summary: | ASTERISK-01919: inet_ntoa is not thread-safe, replace with inet_ntop | ||
Reporter: | mman (mman) | Labels: | |
Date Opened: | 2004-06-29 04:10:24 | Date Closed: | 2008-01-15 15:01:13.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | man inet_ntoa: The inet_ntoa() function converts the Internet host address 'in' given in network byte order to a string in standard numbers-and-dots notation. The string is returned in a statically allocated buffer, which subse- quent calls will overwrite. inet_ntop should be used instead. | ||
Comments: | By: Mark Spencer (markster) 2004-06-29 09:00:13 Okay working on it... By: Mark Spencer (markster) 2004-06-29 09:10:39 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 15:01:13.000-0600 Repository: asterisk Revision: 3345 U trunk/acl.c U trunk/channels/Makefile U trunk/channels/chan_h323.c U trunk/channels/chan_iax.c U trunk/channels/chan_iax2.c U trunk/channels/chan_mgcp.c U trunk/channels/chan_sip.c U trunk/channels/chan_skinny.c U trunk/channels/iax2-parser.c U trunk/include/asterisk/utils.h U trunk/manager.c U trunk/res/res_osp.c U trunk/rtp.c U trunk/utils.c ------------------------------------------------------------------------ r3345 | markster | 2008-01-15 15:01:12 -0600 (Tue, 15 Jan 2008) | 2 lines Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but ASTERISK-1919) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3345 |