The function stores a terminating zero in the buffere for convenience, but
when on repeated calls that would cause problems. Starting now, the original
content is put back again and repeted calls work fine.
Fixes#9150
Reported-by: highmtworks on github
The function stored a terminating zero into the buffer for convenience,
but when on repeated calls that would cause problems. Starting now, the
passed in buffer is not modified.
Reported-by: highmtworks on github
Fixes#9150Closes#9152
I did this
but,
I expected the following
curl/libcurl version
curl 7.84.0 (x86_64-pc-cygwin) libcurl/7.84.0 OpenSSL/1.1.1q zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh2/1.10.0 nghttp2/1.48.0
Release-Date: 2022-06-27
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
operating system
MSYS_NT-10.0-19044 hostname 3.3.5-341.x86_64 2022-07-04 21:33 UTC x86_64 Msys
on
Windows 10 Pro 21H2 19044.1766
The text was updated successfully, but these errors were encountered: