Summary: | ASTERISK-02783: [PATCH] FD not close after getting default local EID | ||
Reporter: | zozo (zozo) | Labels: | |
Date Opened: | 2004-11-11 07:15:32.000-0600 | Date Closed: | 2008-01-15 15:13:06.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 06-dundi-close-socket.diff | |
Description: | After opening a socket in reset_global_eid() to get local HWADDR, code returns from function without closing fd - leaving it open. attached patch fixes by close()'ing before returning. | ||
Comments: | By: Mark Spencer (markster) 2004-11-11 09:38:54.000-0600 Fixed in CVS By: Russell Bryant (russell) 2004-11-12 08:49:26.000-0600 head only By: Digium Subversion (svnbot) 2008-01-15 15:13:06.000-0600 Repository: asterisk Revision: 4199 U trunk/pbx/pbx_dundi.c ------------------------------------------------------------------------ r4199 | markster | 2008-01-15 15:13:06 -0600 (Tue, 15 Jan 2008) | 2 lines Fix leaky fd issue (bug ASTERISK-2783) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4199 |