Bug(s) fixed: 208058
Bug Description: When adding "large" entries or making "large"
a connection using SASL mechanisms that provide encryption, the
a decoding error to the client.
Reviewed by: ???
Files: see diff
Fix Description: It turns out that this is a data size related issue
specific to using SASL mechanisms that encrypt the payload. This
be triggered by a SASL payload that is larger than 512 bytes once it
Internally, we have a buffer that holds the decrypted SASL payload.
is copied into a 512 byte buffer inside the sasl_recv_connection()
If the decrypted data is larger than 512 bytes, we save an offset to
be used to
get the remaining data on the next call to sasl_recv_connection(). The
problem is that we ignore this offset when copying the data between
the subsequent call to sasl_recv_connection().
The fix is to start copying data out of the decrypted buffer from
Flag Day: no
Doc impact: no