pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40557?usp=email )
Change subject: Fix static str buf in osmo_ss7_route_print() too small
......................................................................
Fix static str buf in osmo_ss7_route_print() too small
Change-Id: I40c9ac38b60b01f64bec01ddd10a63759dbdec81
---
M src/ss7_route.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/57/40557/1
diff --git a/src/ss7_route.c b/src/ss7_route.c
index c432c49..713cc6a 100644
--- a/src/ss7_route.c
+++ b/src/ss7_route.c
@@ -271,7 +271,7 @@
const char *osmo_ss7_route_print(const struct osmo_ss7_route *rt)
{
- static char buf[64];
+ static char buf[MAX_PC_STR_LEN * 2 + 1];
struct osmo_strbuf sb = { .buf = buf, .len = sizeof(buf) };
char buf_pc[MAX_PC_STR_LEN];
const struct osmo_ss7_instance *inst = rt->rtable->inst;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40557?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I40c9ac38b60b01f64bec01ddd10a63759dbdec81
Gerrit-Change-Number: 40557
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>