https://issues.apache.org/bugzilla/show_bug.cgi?id=51569
Bug #: 51569
Summary: NULL pointer in cache_cache.c
Product: Apache httpd-2
Version: 2.2.19
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_cache
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
tmp = malloc(sizeof(cache_cache_t));
tmp->max_entries = max_entries;
tmp->max_size = max_size;
tmp->current_size = 0;
tmp->total_purges = 0;
tmp->queue_clock = 0;
tmp->get_pri = get_pri;
tmp->set_pri = set_pri;
tmp->inc_entry = inc_entry;
tmp->size_entry = size_entry;
tmp->key_entry = key_entry;
tmp->free_entry = free_entry;
tmp->ht = cache_hash_make(max_entries);
tmp->pq = cache_pq_init(max_entries, get_pri, get_pos, set_pos);
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]