Attention is currently required from: fixeria, laforge, lynxis lazus, pespin.
dexter has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43968?usp=email ) The change is no longer submittable: Code-Review and Verified are unsatisfied now. Change subject: gprs_sndcp_xid: double check buffer size after writing SAPIs ...................................................................... Patch Set 2: (6 comments) Commit Message: https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/4d88f799_5460feaa?usp=email : PS1, Line 11: that, each encoder funtion writes the remaining information to > (function) Done File src/sgsn/gprs_sndcp_xid.c: https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/cd28a4c1_79711492?usp=email : PS1, Line 119: if (dst_maxlen - dst_counter < 1) > More simple and secure regarding unsigned negative subtraction, etc: "if > (dst_maxlen <= dst_counter) […] Then lets write it as ``` if (dst_maxlen < dst_counter + 1) ``` then to make it uniform with the other code locations. https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/647c5aec_cfe0f939?usp=email : PS1, Line 162: if (dst_maxlen - dst_counter < 7) > "if (dst_maxlen < dst_counter + 7)" Done https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/a7c92068_8f9d9f74?usp=email : PS1, Line 245: if (dst_maxlen - dst_counter < 36) > "if (dst_maxlen < dst_counter + 36)" Done https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/85411d3f_90bbb697?usp=email : PS1, Line 306: if (dst_maxlen - dst_counter < 4) > "if (dst_maxlen < dst_counter + 4)" Done https://gerrit.osmocom.org/c/osmo-sgsn/+/43968/comment/400f9a4e_ad32aeda?usp=email : PS1, Line 363: if (dst_maxlen - dst_counter < 10) > "if (dst_maxlen < dst_counter + 10)" Done -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43968?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: I059c903885e21215ad1e6b835f34db2c5f70d87a Gerrit-Change-Number: 43968 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <[email protected]> Gerrit-Reviewer: laforge <[email protected]> Gerrit-Reviewer: lynxis lazus <[email protected]> Gerrit-CC: pespin <[email protected]> Gerrit-Attention: laforge <[email protected]> Gerrit-Attention: fixeria <[email protected]> Gerrit-Attention: pespin <[email protected]> Gerrit-Attention: lynxis lazus <[email protected]> Gerrit-Comment-Date: Thu, 29 Oct 2026 14:00:36 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <[email protected]>
