This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DHCP/BOOTP-Fix Socket Resource Leak


On Thu, Apr 08, 2004 at 01:52:34PM -0700, Jay Foster wrote:
> The attached patch fixes a socket resource leak with the DHCP/BOOTP code.
> The problem could also lead to an orphaned socket listening on UDP port 0.

Instead of adding all those close calls i put in goto's. It should
produce slighly smaller code. I also fixed a few compiler warnings
about the size of infinite.

      Andrew

Attachment: close.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]