This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/1321 abisip-find: check bsc_fd_register() result Change-Id: I72d713725d287d32ec90506099751aeb9b15ef15 Fixes: Coverity CID 70462 --- M openbsc/src/ipaccess/abisip-find.c 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/21/1321/1 diff --git a/openbsc/src/ipaccess/abisip-find.c b/openbsc/src/ipaccess/abisip-find.c index 9fe7df6..5b36272 100644 --- a/openbsc/src/ipaccess/abisip-find.c +++ b/openbsc/src/ipaccess/abisip-find.c @@ -194,7 +194,11 @@ exit(1); } - osmo_fd_register(&bfd); + rc = osmo_fd_register(&bfd); + if (rc < 0) { + fprintf(stderr, "Cannot register FD\n"); + exit(1); + } timer.cb = timer_cb; timer.data = &bfd; -- To view, visit https://gerrit.osmocom.org/1321 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I72d713725d287d32ec90506099751aeb9b15ef15 Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>