mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
- Please note: to fix CVE-2019-10203, upgrading is not enough Manually apply the schema change: ALTER TABLE domains ALTER notified_serial TYPE bigint USING CASE WHEN notified_serial >= 0 THEN notified_serial::bigint END; PR: 239850 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) MFH: 2019Q3 Relnotes: https://doc.powerdns.com/authoritative/changelog/4.2.html http://blog.powerdns.com/2019/08/29/powerdns-authoritative-server-4-2-0/ Security: CVE-2019-10203
12 lines
232 B
C++
12 lines
232 B
C++
--- pdns/dns_random.cc.orig 2018-11-29 12:53:42 UTC
|
|
+++ pdns/dns_random.cc
|
|
@@ -40,7 +40,9 @@
|
|
#include <openssl/rand.h>
|
|
#endif
|
|
#if defined(HAVE_GETRANDOM)
|
|
+extern "C" {
|
|
#include <sys/random.h>
|
|
+}
|
|
#endif
|
|
|
|
static enum DNS_RNG {
|