projects
/
dovecot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17953b8
)
Avoid usage of PATH_MAX not available on hurd
author
Christian Göttsche
<cgzones@googlemail.com>
Mon, 6 Jun 2022 13:29:38 +0000
(15:29 +0200)
committer
Peter Michael Green
<plugwash@raspbian.org>
Thu, 20 Jun 2024 17:16:27 +0000
(17:16 +0000)
Forwarded: https://github.com/dovecot/core/pull/208
Gbp-Pq: Name Avoid-usage-of-PATH_MAX-not-available-on-hurd.patch
src/lib/test-net.c
patch
|
blob
|
history
diff --git
a/src/lib/test-net.c
b/src/lib/test-net.c
index fb19d5bf0d8f1970d65cdc2ff4f486a3cd6e88bc..28398feae09acdcfe4514aeb950446f53eb9cba5 100644
(file)
--- a/
src/lib/test-net.c
+++ b/
src/lib/test-net.c
@@
-145,7
+145,7
@@
static void test_net_unix_long_paths(void)
test_begin("net_*_unix() - long paths");
- char path[
PATH_MAX
];
+ char path[
4096
];
memset(path, 'x', sizeof(path)-1);
path[sizeof(path)-1] = '\0';