libmemcached_check-configuration wrong error message

Bug #854604 reported by Antonio Vieiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Fix Released
Medium
Brian Aker

Bug Description

libmemcached 0.52, libmemcached/options.cc line 95:
error_buffer[length -1]= 0;
is wrong, as 'length' represents the length of 'option_string' and not of 'error_buffer'.

I'm attaching a patch

Revision history for this message
Antonio Vieiro (5-antonio-e) wrote :
Brian Aker (brianaker)
Changed in libmemcached:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Brian Aker (brianaker)
Brian Aker (brianaker)
Changed in libmemcached:
status: Confirmed → In Progress
Brian Aker (brianaker)
Changed in libmemcached:
status: In Progress → Fix Committed
Brian Aker (brianaker)
Changed in libmemcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.