enabled and FTP disabled.
Changelog
Daniel Stenberg (16 Nov 2008)
+- Christian Krause fixed a build failure when building with gss support
+ enabled and FTP disabled.
+
- Added check for NULL returns from strdup() in src/main.c and lib/formdata.c
- reported by Jim Meyering also prevent buffer overflow on MSDOS when you do
for example -O on a url with a file name part longer than PATH_MAX letters
This release includes the following bugfixes:
+ o build failure when disabling FTP but enabling GSS
o fixed several calls to memory functions that didn't check return codes
o memory leak for SSL connects with libcurl/NSS when CURLOPT_ISSUERCERT was
used
This release would not have looked like this without help, code, reports and
advice from friends like these:
- Yang Tse, Daniel Fandrich, Jim Meyering
+ Yang Tse, Daniel Fandrich, Jim Meyering, Christian Krause
Thanks! (and sorry if I forgot to mention someone)
#define _MPRINTF_REPLACE /* use the internal *printf() functions */
#include <curl/mprintf.h>
-#if defined(HAVE_KRB4) || defined(HAVE_GSSAPI)
+/* the krb4 functions only exists for FTP and if krb4 or gssapi is defined */
+#if !defined(CURL_DISABLE_FTP) && (defined(HAVE_KRB4) || defined(HAVE_GSSAPI))
#include "krb4.h"
#else
#define Curl_sec_send(a,b,c,d) -1