Exploit database

GH-f5b5f3e255c9647f10455031c760da99

opsxcq/exploit-cve-2016-7434

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2016-7434

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files77
opsxcq/exploit-cve-2016-7434Revision b2860c5160a6
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

ntp-4.2.8p8/include/ntp_workimpl.h

Text · 749 bytes
/*
 * ntp_workimpl.h - selects worker child implementation
 */
#ifndef NTP_WORKIMPL_H
#define NTP_WORKIMPL_H

/*
 * Some systems do not support fork() and don't have an alternate
 * threads implementation of ntp_intres.  Such systems are limited
 * to using numeric IP addresses.
 */
#if defined(SYS_WINNT)
# define WORK_THREAD
#elif defined(ISC_PLATFORM_USETHREADS) && \
      defined(HAVE_SEM_TIMEDWAIT) && \
      (defined(HAVE_GETCLOCK) || defined(HAVE_CLOCK_GETTIME))
# define WORK_THREAD
# define WORK_PIPE
#elif defined(VMS) || defined(SYS_VXWORKS)
  /* empty */
#elif defined(HAVE_WORKING_FORK)
# define WORK_FORK
# define WORK_PIPE
#endif

#if defined(WORK_FORK) || defined(WORK_THREAD)
# define WORKER
#endif

#endif	/* !NTP_WORKIMPL_H */