"You can't look at the length of the returned string as the buffer is
already corrupted at that point and memcached_response does not return
the length either."

For you to understand why what your saying is off, you will need to
spend sometime understanding how memcached_response(), which internal
API call, is used in the code.

FWIW I spoke to Dormando, who has the maintainer Memcached for anyone's
recent memory. The binary protocol is/being deprecated, which in turns
means that SASL support will be dropped ( it was only ever supported for
the binary protocol ).


** Branch linked: lp:~brianaker/libmemcached/libmemcached-gearman-remove

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573594

Title:
  Missing null termination in PROTOCOL_BINARY_CMD_SASL_LIST_MECHS
  response handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmemcached/+bug/1573594/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to