Change in libosmocore[master]: libosmogsm: (re)introduce gsm48_push_l3hdr()

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
Sun Aug 5 07:14:01 UTC 2018


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

Change subject: libosmogsm: (re)introduce gsm48_push_l3hdr()
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/#/c/10328/1/src/gsm/gsm48_utils.c
File src/gsm/gsm48_utils.c:

https://gerrit.osmocom.org/#/c/10328/1/src/gsm/gsm48_utils.c@52
PS1, Line 52: 	gh->proto_discr = pdisc | (tid << 4);
what if "pdisc" accidentially contains some bits in the lower nibble?  I think it's safer to add a (pdisc & 0xF0) or the like.



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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8a045efe8335d83fcbe8d43eb180972e3b1d9dda
Gerrit-Change-Number: 10328
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Sun, 05 Aug 2018 07:14:01 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180805/0d73ff45/attachment.htm>


More information about the gerrit-log mailing list