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

Uninitialized variable in search.c (ITS#1538)



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".