From 6f35d108e5b018ac40bad4e242088134bab53e81 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 17 Aug 2011 23:33:54 +0200 Subject: ipaccess: don't close the signalling link if we receive bad OML/RSL message Instead, propagate the error to upper layers. This fixes a segfault in the BSC if bad OML/RSL message is received. --- src/input/ipaccess.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c index 836c2f8..8871246 100644 --- a/src/input/ipaccess.c +++ b/src/input/ipaccess.c @@ -424,7 +424,6 @@ static int handle_ts1_read(struct osmo_fd *bfd) LOGP(DLINP, LOGL_ERROR, "Bad signalling message," "closing socket.\n"); ret = -EINVAL; - goto err; } return ret; err: -- cgit v1.2.3-55-g7522