Attention is currently required from: fixeria. pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/libosmocore/+/44159?usp=email ) Change subject: cbsp: cbsp_decode_cell_list(): check *buf/len ...................................................................... Patch Set 1: (1 comment) File src/gsm/cbsp.c: https://gerrit.osmocom.org/c/libosmocore/+/44159/comment/e78fdc86_e21515ce?u... : PS1, Line 515: } else if (len < 1) {
This is just nitpicking. I do not consider this "unclean". Having an unneeded else after an early return only makes the code more complex for no good reason, this is usual basic example imho. If you consider it nitpicking and given it takes literally half the time we spent here to fix it, then let's wait for others to agree with you.
-- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44159?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I31c66fad36f380fb6706a935df412fd6114f4cd9 Gerrit-Change-Number: 44159 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: pespin <pespin@sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy@sysmocom.de> Gerrit-Comment-Date: Tue, 24 Nov 2026 12:25:33 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: fixeria <vyanitskiy@sysmocom.de> Comment-In-Reply-To: pespin <pespin@sysmocom.de>