Skip to content
  1. Aug 21, 2011
    • Daniel Stenberg's avatar
      main: fix segfault · 61ae7e9c
      Daniel Stenberg authored
      Follow-up to commit 5eb2396c as that wasn't complete.
      
      At times HEADERFUNCTION+HEADERDATA was set only to have only HEADERDATA
      set in the subsequent loop which could cause a NULL to get sent as
      userdata to 'header_callback' which wasn't made to handle that.
      
      Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the
      callback.
      61ae7e9c
    • Yang Tse's avatar
      MemoryTracking: adjust initialization calling - followup · 838dd8f5
      Yang Tse authored
      Fix macro definition
      838dd8f5
  2. Aug 20, 2011
  3. Aug 19, 2011
  4. Aug 18, 2011
  5. Aug 17, 2011
    • Daniel Stenberg's avatar
      18339846
    • Yang Tse's avatar
      MemoryTracking: adjust curl_domalloc() and curl_dofree() memory filling · 31a1af5e
      Yang Tse authored
      Until 2011-08-17 libcurl's Memory Tracking feature also performed
      automatic malloc and free filling operations using 0xA5 and 0x13
      values. Our own preinitialization of dynamically allocated memory
      might be useful when not using third party memory debuggers, but
      on the other hand this would fool memory debuggers into thinking
      that all dynamically allocated memory is properly initialized.
      
      As a default setting, libcurl's Memory Tracking feature no longer
      performs preinitialization of dynamically allocated memory on its
      own. If you know what you are doing, and really want to retain old
      behavior, you can achieve this compiling with preprocessor symbols
      CURL_MT_MALLOC_FILL and CURL_MT_FREE_FILL defined with appropriate
      values.
      31a1af5e
  6. Aug 16, 2011
  7. Aug 15, 2011
  8. Aug 14, 2011
  9. Aug 13, 2011
  10. Aug 12, 2011