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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/20394 ) Change subject: gtphub_test: fix compilation error on gcc 10.2.0 ...................................................................... gtphub_test: fix compilation error on gcc 10.2.0 Ensure dump && hex can't be zero. gtphub_test.c: In function ‘_reply_is.constprop’: gtphub_test.c:535:3: error: ‘%s’ directive argument is null [-Werror=format-overflow=] Change-Id: Id27bf46855a228935fe706584f9b27cf3facf623 --- M tests/gtphub/gtphub_test.c 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/tests/gtphub/gtphub_test.c b/tests/gtphub/gtphub_test.c index d381b9b..dab3977 100644 --- a/tests/gtphub/gtphub_test.c +++ b/tests/gtphub/gtphub_test.c @@ -529,6 +529,8 @@ const char *dump = osmo_hexdump_nospc(reply_buf, len); int cmp = strcmp(dump, hex); + OSMO_ASSERT(dump && hex); + if (cmp != 0) { printf("\n%s:%d: reply_is(): MISMATCH\n" " expecting:\n'%s'\n" -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/20394 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: Id27bf46855a228935fe706584f9b27cf3facf623 Gerrit-Change-Number: 20394 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201002/bf1747c8/attachment.htm>