aboutsummaryrefslogtreecommitdiff
path: root/package/ntp/0003-fix-nommu.patch
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2019-03-12 13:56:27 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-25 17:37:48 +0100
commitb514c0d440e85ed2ef2ea85961ab67ad0c0ec849 (patch)
tree56187f31c44f5cf6f8e5a66a2d43d0e5ae5fa3f7 /package/ntp/0003-fix-nommu.patch
parent44b651a4fdf90f25f5cf4a16f0b9374056fb6e93 (diff)
downloadbuildroot-b514c0d440e85ed2ef2ea85961ab67ad0c0ec849.tar.gz
buildroot-b514c0d440e85ed2ef2ea85961ab67ad0c0ec849.tar.bz2
ntp: security bump to version 4.2.8p13
Fixes CVE-2019-8936: Crafted null dereference attack in authenticated mode 6 packet. Drop upstream patches. Update COPYRIGHT file hash; text formatting (line width) changes. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit 7ffdc08f04a87b0dd6f2bba250627389ce79a776) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ntp/0003-fix-nommu.patch')
-rw-r--r--package/ntp/0003-fix-nommu.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/ntp/0003-fix-nommu.patch b/package/ntp/0003-fix-nommu.patch
deleted file mode 100644
index 0959fa0ba5..0000000000
--- a/package/ntp/0003-fix-nommu.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix no-MMU build
-
-The detach_from_terminal() is unused for no-MMU, but it depends on symbols
-that are not defined for no-MMU. Don't define detach_from_terminal() when
-HAVE_WORKING_FORK is not defined.
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-Upstream status: http://bugs.ntp.org/show_bug.cgi?id=3538
-
-diff -Nuar ntp-4.2.8p12.orig/ntpd/ntpd.c ntp-4.2.8p12/ntpd/ntpd.c
---- ntp-4.2.8p12.orig/ntpd/ntpd.c 2018-08-14 14:51:30.000000000 +0300
-+++ ntp-4.2.8p12/ntpd/ntpd.c 2018-10-13 21:25:25.858261249 +0300
-@@ -534,6 +534,7 @@
- * Detach from terminal (much like daemon())
- * Nothe that this function calls exit()
- */
-+# ifdef HAVE_WORKING_FORK
- static void
- detach_from_terminal(
- int pipe_fds[2],
-@@ -617,6 +618,7 @@
-
- return;
- }
-+# endif /* HAVE_WORKING_FORK */
-
- #ifdef HAVE_DROPROOT
- /*