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 7cee4b67e90aeb260bde11ee7f299e507c94bc10 (commit)
from 0bacc71fc208e5cdf0727de027438b8e901ff666 (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=7cee4b67e90aeb260bde11ee7f…
commit 7cee4b67e90aeb260bde11ee7f299e507c94bc10
Author: Harald Welte <laforge(a)gnumonks.org>
Date: Sat Apr 8 22:17:19 2017 +0200
stream/datagram: Ensure reliable close/destroy
* when using osmo_*_destroy(), always call *_close() internally to
make sure we don't free memory holding references to sockets that are
still open
* when closing the socket, always make sure to set the fd to -1 in all
cases, to avoid attempts to avoid later close() on a new file using
the same fd number as the socket closed previously.
Change-Id: I29c37da6e8f5be8ab030e68952a8f92add146821
-----------------------------------------------------------------------
Summary of changes:
src/datagram.c | 11 ++++++++++-
src/stream.c | 9 ++++++---
2 files changed, 16 insertions(+), 4 deletions(-)
hooks/post-receive
--
Osmocom network interface library