C++ interface: Memcache constructor incompatible with underlying functions
Bug #1010899 reported by
Paulo Pacheco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
The Memcache class constructors call the memcached function with an invalid combination of arguments, resulting in a NULL pointer for the memcached_st memc member.
Version: 1.0.8
Revision: 1003.1.5
memc= memcached("", 0);
memcached_st *memcached(const char *string, size_t length)
{
if (length == 0 and string)
{
return NULL;
}
...
}
Thanx in advance
description: | updated |
Changed in libmemcached: | |
assignee: | nobody → Brian Aker (brianaker) |
milestone: | none → 1.0.10 |
importance: | Undecided → Medium |
Changed in libmemcached: | |
status: | New → Fix Committed |
Changed in libmemcached: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.