]> granicus.if.org Git - curl/commit
sasl: allow arbitrarily long username and password
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 19 Aug 2013 07:36:53 +0000 (00:36 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Aug 2013 09:16:38 +0000 (11:16 +0200)
commitc56f9797e7feb7c2dc93bc389d4b85cc75220d77
tree6f89c8776442b7e73818d910fddf62bd7bb726b6
parent9281be36d5206f02336236a7c90020449109816e
sasl: allow arbitrarily long username and password

Use appropriately sized buffers on the heap instead of fixed-size
buffers on the stack, to allow for longer usernames and passwords.

Callers never pass anything longer than MAX_CURL_USER_LENGTH (resp.
MAX_CURL_PASSWORD_LENGTH), so no functional change inteded yet.
lib/curl_sasl.c