Change in osmo-mgw[master]: protocol: prevent unnecessary null pointer deref

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.org
Fri Jul 20 05:05:40 UTC 2018


Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/10055 )

Change subject: protocol: prevent unnecessary null pointer deref
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/10055/1/include/osmocom/mgcp/mgcp.h
File include/osmocom/mgcp/mgcp.h:

https://gerrit.osmocom.org/#/c/10055/1/include/osmocom/mgcp/mgcp.h@80
PS1, Line 80: typedef int (*mgcp_processing_setup)(struct mgcp_endpoint *endp,
> Are you breaking the API with this change? Looks like it does. […]
libosmo-mgcp is only used by osmo-mgw itself.  In fact, I think for sanity we should simply male it a static library and link it only statically?  Also, the call-back functionality here is only used *inside* two modules of libosmo-mgcp, so not even any change to osmo-mgw in this same repository is required.



-- 
To view, visit https://gerrit.osmocom.org/10055
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id46e9bfba88613387026639eb4957221cce6820a
Gerrit-Change-Number: 10055
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Harald Welte <laforge at gnumonks.org>
Gerrit-Comment-Date: Fri, 20 Jul 2018 05:05:40 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180720/4e1522d0/attachment.htm>


More information about the gerrit-log mailing list