1. 23 May, 2014 2 commits
    • Tatsuhiro Tsujikawa's avatar
      openssl: Fix uninitialized variable use in NPN callback · c7638d93
      Tatsuhiro Tsujikawa authored
      OpenSSL passes out and outlen variable uninitialized to
      select_next_proto_cb callback function.  If the callback function
      returns SSL_TLSEXT_ERR_OK, the caller assumes the callback filled
      values in out and outlen and processes as such.  Previously, if there
      is no overlap in protocol lists, curl code does not fill any values in
      these variables and returns SSL_TLSEXT_ERR_OK, which means we are
      triggering undefined behavior.  valgrind warns this.
      
      This patch fixes this issue by fallback to HTTP/1.1 if there is no
      overlap.
      c7638d93
    • Daniel Stenberg's avatar
  2. 22 May, 2014 7 commits
  3. 21 May, 2014 7 commits
  4. 20 May, 2014 5 commits
  5. 19 May, 2014 5 commits
  6. 18 May, 2014 6 commits
  7. 17 May, 2014 8 commits