]> granicus.if.org Git - curl/commit
digest_sspi: copy terminating NUL as well
authorMax Khon <fjoe@samodelkin.net>
Wed, 28 Dec 2016 12:10:59 +0000 (18:10 +0600)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 Dec 2016 23:21:14 +0000 (00:21 +0100)
commit89b789884680134d5090c6de2e6b621e908b1902
tree8056b0a41461dd55a49a85f8e5e2a3cad452b203
parent0128925de5e49bcf3976bde7da31765d2c06a99d
digest_sspi: copy terminating NUL as well

Curl_auth_decode_digest_http_message(): copy terminating NUL as later
Curl_override_sspi_http_realm() expects a NUL-terminated string.

Fixes #1180
lib/vauth/digest_sspi.c