~ubuntu-branches/ubuntu/hardy/openldap2.3/hardy-updates

« back to all changes in this revision

Viewing changes to contrib/ldapc++/src/LDAPObjClass.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2008-07-31 16:06:53 UTC
  • mfrom: (16.1.3 hardy-proposed)
  • Revision ID: james.westby@ubuntu.com-20080731160653-np1dr19qfutmqb0v
Tags: 2.4.9-0ubuntu0.8.04.1
* SECURITY UPDATE: denial of service via broken BER decoding.
* Added debian/patches/security-ber-decoding.patch: upstream fixes.
* References
  CVE-2008-2952

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// $OpenLDAP: pkg/ldap/contrib/ldapc++/src/LDAPObjClass.h,v 1.3.6.2 2008/05/01 21:28:42 quanah Exp $
1
2
/*
2
3
 * Copyright 2003, OpenLDAP Foundation, All Rights Reserved.
3
4
 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
55
56
        /**
56
57
         * Returns object class description
57
58
         */
58
 
        string getDesc ();
 
59
        string getDesc() const;
59
60
        
60
61
        /**
61
62
         * Returns object class oid
62
63
         */
63
 
        string getOid ();
 
64
        string getOid() const;
64
65
 
65
66
        /**
66
67
         * Returns object class name (first one if there are more of them)
67
68
         */
68
 
        string getName ();
 
69
        string getName() const;
69
70
 
70
71
        /**
71
72
         * Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY
72
73
         */
73
 
        int getKind ();
 
74
        int getKind() const;
74
75
 
75
76
        /**
76
77
         * Returns all object class names
77
78
         */
78
 
        StringList getNames();
 
79
        StringList getNames() const;
79
80
        
80
81
        /**
81
82
         * Returns list of required attributes
82
83
         */
83
 
        StringList getMust();
 
84
        StringList getMust() const;
84
85
        
85
86
        /**
86
87
         * Returns list of allowed (and not required) attributes
87
88
         */
88
 
        StringList getMay();
 
89
        StringList getMay() const;
89
90
        
90
91
        /**
91
92
         * Returns list of the OIDs of the superior ObjectClasses
92
93
         */
93
 
        StringList getSup();
 
94
        StringList getSup() const;
94
95
 
95
96
        void setNames (char **oc_names);
96
97
        void setMay (char **oc_may);