diff options
| author | Carlo Landmeter <clandmeter@gmail.com> | 2017-06-20 16:04:43 +0200 |
|---|---|---|
| committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-06-20 16:04:47 +0200 |
| commit | 876e9e97b5e08a48f0778fef309aac32ec13095c (patch) | |
| tree | efbf0e7e542b6c652dbfc4936b07f80ebec13ed7 /main/varnish/fix-stack-overflow.patch | |
| parent | 8d1a129b31008b75a73f5133e511d3c81ba9bf74 (diff) | |
| download | aports-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.patch | 2 |
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(); |
