1. 08 Feb, 2013 4 commits
    • Gisle Vanem's avatar
      ntlm: fix memory leak · 463082be
      Gisle Vanem authored
      Running tests\libtest\libntlmconnect.exe reveals a 1 byte (!) leak in
      ./lib/curl_ntlm_msgs.c:
      
      perl ..\memanalyze.pl c:memdebug.curl
      Leak detected: memory still allocated: 1 bytes
      At 9771e8, there's 1 bytes.
      allocated by curl_ntlm_msgs.c:399
      
      Snippet from curl_ntlm_msgs.c:
         /* setup ntlm identity's domain and length */
         dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1));
      
      (my domlen == 0).
      
      'dup_domain.tbyte_ptr' looks to be freed in Curl_ntlm_sspi_cleanup() via
      'ntlm->identity.Domain'. But I see no freeing of 'dup_domain.tchar_ptr'.
      463082be
    • Daniel Stenberg's avatar
      DONE: consider callback-aborted transfers premature · 72688317
      Daniel Stenberg authored
      This bug report properly identified that when doing SMTP and aborting
      the transfer with a callback, it must be considered aborted prematurely
      by the code to avoid QUIT etc to be attempted as that would cause a
      hang.
      
      The new test case 1507 verifies this behavior.
      
      Reported by: Patricia Muscalu
      Bug: http://curl.haxx.se/bug/view.cgi?id=1184
      72688317
    • Daniel Stenberg's avatar
      FAQ: refreshed some phrases · 07f97809
      Daniel Stenberg authored
      07f97809
    • Nick Zitzmann's avatar
      darwinssl: Fix build under Leopard · 9613cf72
      Nick Zitzmann authored
      It turns out that Leopard (OS X 10.5) doesn't have constants for the ECDH
      ciphers in its headers, so the cases for them have been taken out of the
      build when building under Leopard. Also added a standard function for
      getting a string description of a SecCertificateRef.
      9613cf72
  2. 07 Feb, 2013 6 commits
  3. 06 Feb, 2013 21 commits
  4. 05 Feb, 2013 9 commits
    • Steve Holme's avatar
      imap.h: Corrected incorrect comment clarification · 33a182e6
      Steve Holme authored
      Corrected comment clarification made in commit 167717b8.
      33a182e6
    • Steve Holme's avatar
      68de6a0b
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced with 25f35142 · 25d13822
      Daniel Stenberg authored
      8 more bug fixes mentioned
      25d13822
    • John E. Malmberg's avatar
      VMS: fix and generate the VMS build config · 25f35142
      John E. Malmberg authored
      config_h.com is a new file that generates a config.h file based on the
      curl_config.h.in file and a quick scan of the configure script.  This is
      actually a generic procedure that is shared with other VMS packages.
      
      The existing pre-built config-vms.h had over 100 entries that were not
      correct and in some cases conflicted with the build options available in
      the build_vms.com.
      
      generate_config_vms_h_curl.com is a helper procedure to the
      config_h.com.  It covers the cases that the generic config_h.com is not
      able to figure out, and accepts input from the build_vms.com procedure.
      
      build_curlbuild_h.com is a new file to generate the curlbuild.h file
      that Curl is now using when it is using a curl_config.h file.
      
      post-config-vms.h is a new file that is needed to provide VMS specific
      definitions, and most of them need to be set before the system header
      files are included.
      
      The VMS build procedure is fixed:
      
         1. Fixed to link in the correct HP ssl library.
         2. Fixed to detect if HP Kerberos is installed.
         3. Fixed to detect if HP LDAP is installed.
         4. Fixed to detect if gnv$libzshr is installed.
         5. Simplified the input parameter parsing to not use a loop.
         6. Warn that 64 bit pointer option support is not complete
            in comments.
         7. Default to IEEE floating if platform supports it so
            resulting libcurl will be compatible with other
            open source projects on VMS.
         8. Default to LARGEFILE if platform supports it.
         9. Default to enable SSL, LDAP, Kerberos, libz
            if the libraries are present.
         10. Build with exact case global symbols for libcurl.
         11. Generate linker option file needed.
         12. Compiler list option only commonly needed items.
         13. fulllist option for those who really want it.
         14. Create debug symbol file on Alpha, IA64.
      25f35142
    • Daniel Stenberg's avatar
      Curl_proxyCONNECT: return once CONNECT is sent · cb3e6dfa
      Daniel Stenberg authored
      By doing this unconditionally, we infer a simpler and more defined
      behavior. This also has the upside that test 1021 no longer fails for me
      even if I run with valgrind.
      
      Also fixed some wrong comments.
      cb3e6dfa
    • Steve Holme's avatar
      email: Reworked comments in the endofresp() functions · 1d224078
      Steve Holme authored
      Tidied up the comments in the endofresp() functions to be more
      meaningful prior to release.
      1d224078
    • Marc Hoersken's avatar
      schannel: Removed extended error connection setup flag · bb7c2ee3
      Marc Hoersken authored
      According KB975858 this flag may cause problems on Windows 7 and
      Windows Server 2008 R2 systems. Extended error information is not
      currently used by libcurl and therefore not a requirement.
      
      The flag may improve the SSL-connection shutdown in case of an
      error. This means it might be a good improvement in the future.
      
      Fixes bug/issue #1187 - thanks for the report
      bb7c2ee3
    • Tor Arntsen's avatar
      singleipconnect: Update *sockp for all CURLE_OK · 278ab75e
      Tor Arntsen authored
      The 56b7c87c change left a case where a good sockfd was not copied to
      *sockp before returning with CURLE_OK
      278ab75e
    • Daniel Stenberg's avatar
      curl_easy_perform: Value stored to 'mcode' is never read · 0d1b7543
      Daniel Stenberg authored
      pointed out by clang-analyzer
      0d1b7543