aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-05-26 19:05:59 -0700
committerGarrett D'Amore <garrett@damore.org>2025-05-26 19:08:14 -0700
commit5d1254fc3d52d8b7421ca152eed1a79a1a50d37c (patch)
tree821a98cf56e7f0f4e08d3e540045e567bc6ddb22 /src
parenta438feb3db67451c2e07b18ca1f6bf014851000d (diff)
downloadnng-5d1254fc3d52d8b7421ca152eed1a79a1a50d37c.tar.gz
nng-5d1254fc3d52d8b7421ca152eed1a79a1a50d37c.tar.bz2
nng-5d1254fc3d52d8b7421ca152eed1a79a1a50d37c.zip
Fix possible overrun in url test.
Diffstat (limited to 'src')
-rw-r--r--src/core/url_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/url_test.c b/src/core/url_test.c
index 7cd862c6..e05badab 100644
--- a/src/core/url_test.c
+++ b/src/core/url_test.c
@@ -496,7 +496,7 @@ void
test_url_huge_parts(void)
{
nng_url *url = NULL;
- char huge1[8192];
+ char huge1[8800];
char huge2[8192];
char *prefix = "http://example.com/path";
char *frag = "frag";