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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-cbc/+/25926 )
Change subject: rest_api: fix api_cb_message_del(): unsigned compared against 0
......................................................................
rest_api: fix api_cb_message_del(): unsigned compared against 0
Change-Id: Ie0d710516bdafb8acc9e78d9de14bd3fe115021d
Fixes: CID#240731
---
M src/rest_api.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/26/25926/1
diff --git a/src/rest_api.c b/src/rest_api.c
index c70d096..cecc1fc 100644
--- a/src/rest_api.c
+++ b/src/rest_api.c
@@ -611,7 +611,7 @@
goto err;
}
message_id = atoi(message_id_str);
- if (message_id < 0 || message_id > 65535) {
+ if (message_id > 65535) {
status = 400;
goto err;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/25926
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Ie0d710516bdafb8acc9e78d9de14bd3fe115021d
Gerrit-Change-Number: 25926
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211024/075fe20c/attachment.htm>