X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Furi.c;h=4838372ee9eadd0f6730af6e5d059bd45b35d11f;hb=f5a0c9cf497ccd3f438832072ff9c4c06264c16c;hp=8d7cf9074beb02ab5f9981edd1f790dfd042070d;hpb=bc89445574c5bef2a905f213c3a615ea559bd4c8;p=lttng-tools.git diff --git a/src/common/uri.c b/src/common/uri.c index 8d7cf9074..4838372ee 100644 --- a/src/common/uri.c +++ b/src/common/uri.c @@ -186,7 +186,7 @@ int uri_to_str_url(struct lttng_uri *uri, char *dst, size_t size) { int ipver, ret; const char *addr; - char proto[4], port[7]; + char proto[5], port[7]; assert(uri); assert(dst);