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

« back to all changes in this revision

Viewing changes to contrib/ldapc++/src/LDAPRequest.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/LDAPRequest.h,v 1.4.10.3 2008/04/14 23:09:26 quanah Exp $
1
2
/*
2
3
 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
3
4
 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
40
41
        
41
42
        const LDAPConstraints* getConstraints() const;
42
43
        const LDAPAsynConnection* getConnection() const;
 
44
        virtual LDAPMsg *getNextMessage() const;
43
45
        int getType()const;
44
46
        int getMsgID() const;
45
47
        int getHopCount() const;
63
65
         * functions of the C-API to send the Request to a LDAP-Server
64
66
         */
65
67
        virtual LDAPMessageQueue* sendRequest()=0;
66
 
        virtual LDAPRequest* followReferral(LDAPMsg* ref)=0;
 
68
        virtual LDAPRequest* followReferral(LDAPMsg* ref);
67
69
 
68
70
        /**
69
71
         * Compare this request with another on. And returns true if they