Attention is currently required from: lynxis lazus.

pespin has posted comments on this change by lynxis lazus. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/37860?usp=email )

Change subject: Replace gprs_ra_id with modern osmo_routing_area_id
......................................................................


Patch Set 2: Code-Review+1

(6 comments)

File src/sgsn/gprs_gmm.c:

https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/f1ea0230_7660f467?usp=email
 :
PS2, Line 1645:         osmo_routing_area_id_decode(&old_ra_id, cur, 
msgb_l3len(msg) - 3);
where does the 3 come from? "cur - gh" ?


https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/0d1a4673_eee5a654?usp=email
 :
PS2, Line 1729:                 bssgp_parse_cell_id2(&new_ra_id, NULL, 
msgb_bcid(msg), 8);
isn't this 8 you hardcoded supposed to be passed from space available in msg to 
avoid read out of bounds?


https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/71861a84_ade28dd0?usp=email
 :
PS2, Line 1772:                 bssgp_parse_cell_id2(&mmctx->ra, NULL, 
msgb_bcid(msg), 8);
isn't this 8 you hardcoded supposed to be passed from space available in msg to 
avoid read out of bounds?


https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/2ea4a0cf_84f25c35?usp=email
 :
PS2, Line 2346:         bssgp_parse_cell_id2(&ra_id, NULL, msgb_bcid(msg), 8);
isn't this 8 you hardcoded supposed to be passed from space available in msg to 
avoid read out of bounds?


File src/sgsn/gprs_sndcp.c:

https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/6c1ccbb3_1d65b00d?usp=email
 :
PS2, Line 837:  bssgp_parse_cell_id2(&sne->ra_id, NULL, msgb_bcid(msg), 8);
same


File src/sgsn/gprs_subscriber.c:

https://gerrit.osmocom.org/c/osmo-sgsn/+/37860/comment/7b2301d0_4ca96131?usp=email
 :
PS2, Line 880:  if (subscr->lac != mmctx->ra.lac.lac)
we should add a define to name "lac" as "lai" in that struct :)



--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/37860?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ia41eb8f51d3836b1bc65325ff1ec6bdb16e20c7e
Gerrit-Change-Number: 37860
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: lynxis lazus <[email protected]>
Gerrit-Comment-Date: Mon, 19 Aug 2024 10:06:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Reply via email to