aboutsummaryrefslogtreecommitdiff
path: root/package/ntp/0004-fix-work-fork-without-droproot.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/0004-fix-work-fork-without-droproot.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/0004-fix-work-fork-without-droproot.patch')
-rw-r--r--package/ntp/0004-fix-work-fork-without-droproot.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/ntp/0004-fix-work-fork-without-droproot.patch b/package/ntp/0004-fix-work-fork-without-droproot.patch
deleted file mode 100644
index cb6fec0125..0000000000
--- a/package/ntp/0004-fix-work-fork-without-droproot.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Fix work_fork build when droproot is disabled
-
-The set_user_group_ids() depends on HAVE_DROPROOT. When HAVE_DROPROOT is not
-enabled, work_fork.c code causes a link failure:
-
-../libntp/libntp.a(work_fork.o): In function `send_blocking_req_internal':
-work_fork.c:(.text+0x498): undefined reference to `set_user_group_ids'
-
-Make the set_user_group_ids() call depend on HAVE_DROPROOT.
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
-Upstream status: http://bugs.ntp.org/show_bug.cgi?id=3539
-
---- ntp-4.2.8p12.orig/libntp/work_fork.c 2018-08-14 14:51:06.000000000 +0300
-+++ ntp-4.2.8p12/libntp/work_fork.c 2018-10-15 21:10:54.580917962 +0300
-@@ -594,7 +594,9 @@
- init_logging("ntp_intres", 0, FALSE);
- setup_logfile(NULL);
-
-+#if defined(HAVE_DROPROOT)
- (void) set_user_group_ids();
-+#endif
-
- /*
- * And now back to the portable code