Fix read off end of string in NTLM SSO support
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 9 Apr 2011 20:39:25 +0000 (21:39 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 9 Apr 2011 20:39:25 +0000 (21:39 +0100)
commit8ed94aae34ba003487b76b58c879506b57d19200
treeae6c2a7ee1f8fcca4d0d82ab7e41c32e6dc87580
parentca553fcb264a09b75b406d2eaed1942dc0af6f50
Fix read off end of string in NTLM SSO support

Didn't actually break things, since the base64 decode usually just gave us
an extra few bytes before hitting a character it didn't like and stopping
anyway, but naughty nonetheless. Valgrind told me off for it, and rightly so.
camel/camel-sasl-ntlm.c