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 | |
parent | 8d1a129b31008b75a73f5133e511d3c81ba9bf74 (diff) | |
download | aports-876e9e97b5e08a48f0778fef309aac32ec13095c.tar.bz2 aports-876e9e97b5e08a48f0778fef309aac32ec13095c.tar.xz |
main/varnish: improve stack overflow handling
Diffstat (limited to 'main/varnish')
-rw-r--r-- | main/varnish/APKBUILD | 4 | ||||
-rw-r--r-- | main/varnish/fix-stack-overflow.patch | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/varnish/APKBUILD b/main/varnish/APKBUILD index 5018e70374..ee82c76103 100644 --- a/main/varnish/APKBUILD +++ b/main/varnish/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=varnish pkgver=5.1.2 -pkgrel=0 +pkgrel=1 pkgdesc="High-performance HTTP accelerator" url="http://www.varnish-cache.org/" arch="all" @@ -81,7 +81,7 @@ geoip() { } sha512sums="6ee71c2678a34f7e3963547d8e79bd83e3b326ffe703ad60f0d6f8f218a3801849c870aa00e407008ef22cd2b2baf4cbe02625ce77018279afdb8208d43a743b varnish-5.1.2.tar.gz -09c8b0dad334bfcfaa86deb918ab886a9d0279cad720a40547243cd1223349335deb476ea866cd96c740e4effeffc6582c9c09db1b0a1d31c5c960379cdae5e0 fix-stack-overflow.patch +a76dc31c95367defb2de00dd1c55f09a6217ef911056c0dc8807320f76549087453563f07dad22b6f19cb4a594a0352f414d8ad8c39bf3f8bb6fb3251f143e96 fix-stack-overflow.patch 8758bef9039a2cca23b7302668bd49f1ea07f54835512a8a9558bb9ed5de1c0fca53f2085ccd298fe0c6579fc81c3b583a85f4f6b25b6ad85f89bf3be04afb70 musl-mode_t.patch 5f9cd1da8a72e71d6317d9c9b625d4b2f4f46ff6c4f7aaf8fed5958ce141be572d7e4d2d207af51b1cf4201b19b9bc1574d3cfcf7616c043a309c04ce6ae949e varnishd.initd 98c8901e53f3c6adb908b9eb01fd441ea53f3c54d4a79aecb1fb1eddfa2fc93de3d0de403a4464a9baff15873b3a20623837e3a37cb225e924a329e32b9e37d6 varnishd.confd 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(); |