CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1
| Bug #51257 | CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1 | ||||
|---|---|---|---|---|---|
| Submitted: | 2010-03-10 12:37 UTC | Modified: | 2010-03-11 00:00 UTC | ||
| From: | aron dot ujvari at microsec dot hu | Assigned: | felipe (profile) | ||
| Status: | Closed | Package: | cURL related | ||
| PHP Version: | 5.3.2 | OS: | Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2010-03-10 12:37 UTC] aron dot ujvari at microsec dot hu
Description:
------------
In ext/curl/interface.c:
#if LIBCURL_VERSION_NUM > 0x070a09 /* 7.10.1 */
{"Largefile", CURL_VERSION_LARGEFILE},
#endif
According to libcurl documentation (http://curl.haxx.se/libcurl/c/curl_version_info.html this symbol) it exists just after version 7.11.1 and not 7.10.1:
CURL_VERSION_LARGEFILE
libcurl was built with support for large files. (Added in 7.11.1)
If you have libcurl version between 7.10.1 and 7.11.1 (in SLES9 for example) your build will fail since not CURL_VERSION_LARGEFILE symbol exists in libcurl but tried to used by PHP curl extension.
Patch file resolves this problem attached.
Patches
Patch (last revision 2010-03-10 11:40 UTC by aron dot ujvari at microsec dot hu)Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-03-11 00:00 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
[2010-03-11 00:00 UTC] felipe@php.net