summaryrefslogtreecommitdiff
path: root/net-dns/pdns/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-04 12:06:33 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-04 12:06:33 +0000
commita833e3f4a431b8eea751b7420e127787f9c92117 (patch)
treeb941d23e9e3d5f070b01feb15ef927839af7456a /net-dns/pdns/files
parent4cd2370bed609c118b6edfde5d3f116e5c35b897 (diff)
gentoo resync : 04.12.2017
Diffstat (limited to 'net-dns/pdns/files')
-rw-r--r--net-dns/pdns/files/CVE-2017-15091-4.0.4.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/net-dns/pdns/files/CVE-2017-15091-4.0.4.patch b/net-dns/pdns/files/CVE-2017-15091-4.0.4.patch
deleted file mode 100644
index a9506af8ef95..000000000000
--- a/net-dns/pdns/files/CVE-2017-15091-4.0.4.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru pdns-4.0.4.orig/pdns/ws-auth.cc pdns-4.0.4/pdns/ws-auth.cc
---- pdns-4.0.4.orig/pdns/ws-auth.cc 2017-06-22 22:07:25.000000000 +0200
-+++ pdns-4.0.4/pdns/ws-auth.cc 2017-11-02 18:07:20.986764858 +0100
-@@ -860,7 +860,7 @@
- static void apiServerZoneAxfrRetrieve(HttpRequest* req, HttpResponse* resp) {
- DNSName zonename = apiZoneIdToName(req->parameters["id"]);
-
-- if(req->method != "PUT")
-+ if(req->method != "PUT" || ::arg().mustDo("api-readonly"))
- throw HttpMethodNotAllowedException();
-
- UeberBackend B;
-@@ -879,7 +879,7 @@
- static void apiServerZoneNotify(HttpRequest* req, HttpResponse* resp) {
- DNSName zonename = apiZoneIdToName(req->parameters["id"]);
-
-- if(req->method != "PUT")
-+ if(req->method != "PUT" || ::arg().mustDo("api-readonly"))
- throw HttpMethodNotAllowedException();
-
- UeberBackend B;
-@@ -1191,7 +1191,7 @@
- }
-
- void apiServerCacheFlush(HttpRequest* req, HttpResponse* resp) {
-- if(req->method != "PUT")
-+ if(req->method != "PUT" || ::arg().mustDo("api-readonly"))
- throw HttpMethodNotAllowedException();
-
- DNSName canon = apiNameToDNSName(req->getvars["domain"]);