~ubuntu-branches/debian/squeeze/ntp/squeeze-201010051545

« back to all changes in this revision

Viewing changes to ntpd/refclock_ptbacts.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-01-05 21:10:03 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090105211003-mh6zc3um4k1uhsj7
Tags: 1:4.2.4p4+dfsg-8
It did not properly check the return value of EVP_VerifyFinal
which results in an malformed DSA signature being treated as
a good signature rather than as an error.  (CVE-2009-0021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * crude hack to avoid hard links in distribution
3
 
 * and keep only one ACTS type source for different
4
 
 * ACTS refclocks
5
 
 */
6
 
 
7
 
#ifdef HAVE_CONFIG_H
8
 
# include <config.h>
9
 
#endif
10
 
 
11
 
#if defined(REFCLOCK) && defined(CLOCK_PTBACTS)
12
 
# define KEEPPTBACTS
13
 
# include "refclock_acts.c"
14
 
#else /* not (REFCLOCK && CLOCK_PTBACTS) */
15
 
int refclock_ptbacts_bs;
16
 
#endif /* not (REFCLOCK && CLOCK_PTBACTS) */