Wrong size check in memcached_last_error_message
Bug #1284821 reported by
Martin C. Martin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
New
|
Undecided
|
Unassigned |
Bug Description
memcached_
if (memc->
{
return memc->error_
}
return memcached_
The check against "size" should be "size > 0", a size of zero means the string is empty.
To post a comment you must log in.