openbsc[master]: transaction: reject calls from unidentified subscribers

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/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Jul 10 09:52:09 UTC 2017


Patch Set 4:

(2 comments)

> Who called it with a NULL subscr? Do you think it is approriate to
 > call this function with a NULL subscriber?
 > 
 > If nonnull attribute wouldn't influence the optimizer I would say
 > let's mark the parameter as non NULL.

I am not entirely sure, subscr==NULL is definetly an exception. I will ask  Mr. Bolsee for some background information on this patch.

https://gerrit.osmocom.org/#/c/3127/3/openbsc/src/libmsc/transaction.c
File openbsc/src/libmsc/transaction.c:

Line 74: 	if (subscr == NULL) {
> Is this normal? Should we log smth or caller takes care of it?
Done


https://gerrit.osmocom.org/#/c/3127/4/openbsc/src/libmsc/transaction.c
File openbsc/src/libmsc/transaction.c:

Line 75: 		DEBUGP(DCC,
> I think this should be INFO or probably even NOTICE level, as it is not som
Done


-- 
To view, visit https://gerrit.osmocom.org/3127
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia8739b6e329ab02c0064270d02ad1d6ee245520d
Gerrit-PatchSet: 4
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list