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

« back to all changes in this revision

Viewing changes to servers/slapd/back-monitor/thread.c

  • 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
1
/* thread.c - deal with thread subsystem */
2
 
/* $OpenLDAP: pkg/ldap/servers/slapd/back-monitor/thread.c,v 1.38.2.5 2007/08/31 23:14:04 quanah Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/servers/slapd/back-monitor/thread.c,v 1.38.2.7 2008/02/11 23:26:47 kurt Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
 
 * Copyright 2001-2007 The OpenLDAP Foundation.
 
5
 * Copyright 2001-2008 The OpenLDAP Foundation.
6
6
 * Portions Copyright 2001-2003 Pierangelo Masarati.
7
7
 * All rights reserved.
8
8
 *
260
260
                                ber_bvarray_free( a->a_vals );
261
261
                                a->a_vals = NULL;
262
262
                                a->a_nvals = NULL;
 
263
                                a->a_numvals = 0;
263
264
                        }
264
265
 
265
266
                        i = 0;
292
293
                                ber_bvarray_free( a->a_vals );
293
294
                                a->a_vals = NULL;
294
295
                                a->a_nvals = NULL;
 
296
                                a->a_numvals = 0;
295
297
                        }
296
298
        
297
299
                        i = 0;