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-hlr/+/22564 )
Change subject: db_hlr: db_subscrs_get(): fix NULL-pointer dereference
......................................................................
db_hlr: db_subscrs_get(): fix NULL-pointer dereference
Change-Id: I346dc66c2f88b1f3504b8be60f9608e69ed40332
Fixes: CID#216867
---
M src/db_hlr.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/64/22564/1
diff --git a/src/db_hlr.c b/src/db_hlr.c
index a181c0c..2bcdeaa 100644
--- a/src/db_hlr.c
+++ b/src/db_hlr.c
@@ -663,7 +663,7 @@
return -EIO;
}
- if (filter && strcmp(filter_type, "last_lu_seen") != 0) {
+ if (filter && filter_type && strcmp(filter_type, "last_lu_seen") != 0) {
if (strcmp(filter, "on") == 0) {
sprintf(search, "%s", "1");
} else if (strcmp(filter, "off") == 0) {
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/22564
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I346dc66c2f88b1f3504b8be60f9608e69ed40332
Gerrit-Change-Number: 22564
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/20210130/6bfb8055/attachment.htm>