[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Uninitialized variable in search.c (ITS#1538)



lukeh@padl.com wrote:
> 
> Full_Name: Luke Howard
> Version: HEAD
> OS: OS X
> URL: http://www.padl.com/~lukeh/lukeh-020117.diff
> Submission from: (NULL) (193.248.186.237)
> 
> The AttributeName *an is not initialized in servers/slapd/search.c.
> 
> The return_results label can be reached without it being assigned a value
> and hence a random pointer is freed.
> 
> To trigger this try searching with an unparsable base such as "o=PADL
> SO++ftware".


I'll take care of this

Ando.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati