1. 02 Oct, 2017 1 commit
  2. 01 Oct, 2017 3 commits
  3. 30 Sep, 2017 3 commits
    • Daniel Stenberg's avatar
      cookie: fix memory leak if path was set twice in header · 8392a0cf
      Daniel Stenberg authored
      ... this will let the second occurance override the first.
      
      Added test 1161 to verify.
      
      Reported-by: Max Dymond
      Fixes #1932
      Closes #1933
      8392a0cf
    • Dan Fandrich's avatar
      test650: Use variable replacement to set the host address and port · cecffff5
      Dan Fandrich authored
      Otherwise, the test fails when the -b test option is used to set a
      different test port range.
      cecffff5
    • Dan Fandrich's avatar
      Set and use more necessary options when some protocols are disabled · df7839b6
      Dan Fandrich authored
      When curl and libcurl are built with some protocols disabled, they stop
      setting and receiving some options that don't make sense with those
      protocols.  In particular, when HTTP is disabled many options aren't set
      that are used only by HTTP.  However, some options that appear to be
      HTTP-only are actually used by other protocols as well (some despite
      having HTTP in the name) and should be set, but weren't. This change now
      causes some of these options to be set and used for more (or for all)
      protocols. In particular, this fixes tests 646 through 649 in an
      HTTP-disabled build, which use the MIME API in the mail protocols.
      df7839b6
  4. 29 Sep, 2017 3 commits
  5. 28 Sep, 2017 4 commits
  6. 27 Sep, 2017 1 commit
    • Daniel Stenberg's avatar
      curl.h: include <sys/select.h> on cygwin too · 6aa86c49
      Daniel Stenberg authored
      When building with -std=c++14 on cygwin, this header won't be
      automatically included as it otherwise is.
      
      The <sys/select.h> include decision should ideally be reversed and be
      avoided where that header file doesn't exist.
      
      Reported-by: Ian Fette
      Fixes #1925
      6aa86c49
  7. 25 Sep, 2017 1 commit
  8. 24 Sep, 2017 1 commit
  9. 23 Sep, 2017 4 commits
  10. 22 Sep, 2017 7 commits
  11. 21 Sep, 2017 2 commits
  12. 20 Sep, 2017 5 commits
  13. 19 Sep, 2017 1 commit
  14. 18 Sep, 2017 4 commits
    • Max Dymond's avatar
      ossfuzz: changes before merging the generated corpora · c73ebb85
      Max Dymond authored
      Before merging in the oss-fuzz corpora from Google, there are some changes
      to the fuzzer.
      - Add a read corpus script, to display corpus files nicely.
      - Change the behaviour of the fuzzer so that TLV parse failures all now
        go down the same execution paths, which should reduce the size of the
        corpora.
      - Make unknown TLVs a failure to parse, which should decrease the size
        of the corpora as well.
      
      Closes #1881
      c73ebb85
    • Daniel Stenberg's avatar
      mime:escape_string minor clarification change · bec50cc2
      Daniel Stenberg authored
      ... as it also removes a warning with old gcc versions.
      
      Bug: https://curl.haxx.se/mail/lib-2017-09/0049.html
      Reported-by: Ben Greear
      bec50cc2
    • Max Dymond's avatar
      ossfuzz: don't write out to stdout · e239eda3
      Max Dymond authored
      Don't make the fuzzer write out to stdout - instead write some of the
      contents to a memory block so we exercise the data output code but
      quietly.
      
      Closes #1885
      e239eda3
    • Daniel Stenberg's avatar
      cookies: reject oversized cookies · 2bc230de
      Daniel Stenberg authored
      ... instead of truncating them.
      
      There's no fixed limit for acceptable cookie names in RFC 6265, but the
      entire cookie is said to be less than 4096 bytes (section 6.1). This is
      also what browsers seem to implement.
      
      We now allow max 5000 bytes cookie header. Max 4095 bytes length per
      cookie name and value. Name + value together may not exceed 4096 bytes.
      
      Added test 1151 to verify
      
      Bug: https://curl.haxx.se/mail/lib-2017-09/0062.html
      Reported-by: Kevin Smith
      
      Closes #1894
      2bc230de