[AC 21.5] gnuserv leaks file descriptors
Jerry James <[email protected]> Mon, 8 Dec 2014 16:28:17 -0700
| Newsgroups | gmane.emacs.xemacs.patches |
|---|---|
| Message-ID | <CAHCOHQnD-u845bjbm-Xp5v9VNspsxWRi78rLV0-Au+MeJ6b3xg@mail.gmail.com> |
APPROVE COMMIT 21.5 On Fri, Dec 5, 2014 at 4:09 PM, Jerry James <[email protected]> wrote: > Coverity Scan reports that gnuserv is leaking file descriptors. While > fixing that, I noticed that handle_unix_request() calls echo_request() > even when accept() returns -1, which isn't right. This patch fixes > both problems. Upon looking at this one more time, I am convinced that this patch is correct, so I am pushing it. -- Jerry James http://www.jamezone.org/