[curl/curl] f340a0: http: reset the header buffer when sending the req...

Daniel Stenberg <[email protected]>
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/http-reset-headerb/[email protected]>
  Branch: refs/heads/bagder/http-reset-headerb
  Home:   https://github.com/curl/curl
  Commit: f340a082aeb7d3f2754b51909d7a027315377032
      https://github.com/curl/curl/commit/f340a082aeb7d3f2754b51909d7a027315377032
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M lib/http.c

  Log Message:
  -----------
  http: reset the header buffer when sending the request

A reused transfer handle could otherwise reuse the previous buffer's and
havoc could ensue.

Reported-by: sergio-nsk on github
Fixes #7018


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.