This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom network interface library".
The branch, master has been updated
via 719d1a38c67afb5e896d35bccb2cc3f922872ec8 (commit)
from a7d7dd220cd8a94ca6ee341620f0cd40815ec3b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-netif/commit/?id=719d1a38c67afb5e896d35bccb…
commit 719d1a38c67afb5e896d35bccb2cc3f922872ec8
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Sat Nov 26 14:51:45 2016 +0100
osmo_stream_srv_fd_cb(): don't leak socket FDs on errors
So far we seem to assume that the accept_cb does all handling of socket
fd cleanup. However, there are cases where there is no accept_cb set,
the accept_cb returns error, or an earlier sctp_sock_activate_events()
or the activation of non-blocking mode fails.
For those cases, close the socket and return an error code.
Fixes: CID#57915
Change-Id: I3a3ce9194ab7ca5c1921fc79c2a1c9e10a552cf0
-----------------------------------------------------------------------
Summary of changes:
src/stream.c | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
hooks/post-receive
--
Osmocom network interface library