aboutsummaryrefslogtreecommitdiffstats
path: root/main/varnish/fix-stack-overflow.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-06-20 16:04:43 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-06-20 16:04:47 +0200
commit876e9e97b5e08a48f0778fef309aac32ec13095c (patch)
treeefbf0e7e542b6c652dbfc4936b07f80ebec13ed7 /main/varnish/fix-stack-overflow.patch
parent8d1a129b31008b75a73f5133e511d3c81ba9bf74 (diff)
downloadaports-876e9e97b5e08a48f0778fef309aac32ec13095c.tar.bz2
aports-876e9e97b5e08a48f0778fef309aac32ec13095c.tar.xz
main/varnish: improve stack overflow handling
Diffstat (limited to 'main/varnish/fix-stack-overflow.patch')
-rw-r--r--main/varnish/fix-stack-overflow.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/varnish/fix-stack-overflow.patch b/main/varnish/fix-stack-overflow.patch
index 639d0e69f6..f516fdd429 100644
--- a/main/varnish/fix-stack-overflow.patch
+++ b/main/varnish/fix-stack-overflow.patch
@@ -13,7 +13,7 @@
w = vwe->waiter;
CHECK_OBJ_NOTNULL(w, WAITER_MAGIC);
THR_SetName("cache-epoll");
-+ ev = malloc(NEEV * sizeof(struct epoll_event));
++ ev = calloc(NEEV, sizeof(struct epoll_event));
+ assert(ev != NULL);
now = VTIM_real();