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

« back to all changes in this revision

Viewing changes to include/debug-opt.def

  • 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
include        = <<- _EOF_
 
3
        #ifdef __windows
 
4
          extern int atoi(const char*);
 
5
        #else
 
6
        # include <stdlib.h>
 
7
        #endif
 
8
        _EOF_;
 
9
 
 
10
flag = {
 
11
    name      = debug-level;
 
12
    value     = d;
 
13
    max       = NOLIMIT;
 
14
    ifdef     = DEBUG;
 
15
    nopreset;
 
16
    descrip   = "Increase output debug message level";
 
17
    doc = <<-  _EndOfDoc_
 
18
        Increase the debugging message output level.
 
19
        _EndOfDoc_;
 
20
};
 
21
 
 
22
flag = {
 
23
    name      = set-debug-level;
 
24
    value     = D;
 
25
    max       = NOLIMIT;
 
26
    ifdef     = DEBUG;
 
27
    descrip   = "Set the output debug message level";
 
28
    arg-type  = string;
 
29
    flag-code = 'DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );';
 
30
    doc = <<-  _EndOfDoc_
 
31
        Set the output debugging level.  Can be supplied multiple times,
 
32
        but each overrides the previous value(s).
 
33
        _EndOfDoc_;
 
34
};