- Add curl-invalid-free.patch to fix an invalid free in

curl_multi_setopt function.

- Add curl-invalid-free.patch to fix an invalid free in
  curl_multi_setopt function.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=195
This commit is contained in:
Ismail Dönmez
2017-06-20 11:37:20 +00:00
committed by Git OBS Bridge
parent 7887378be5
commit 608c95630e
5 changed files with 107 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ Source4: https://daniel.haxx.se/mykey.asc#/curl.keyring
Patch0: libcurl-ocloexec.patch
Patch1: dont-mess-with-rpmoptflags.diff
Patch2: curl-secure-getenv.patch
Patch3: curl-invalid-free.patch
BuildRequires: libtool
BuildRequires: pkgconfig
%if !0%{?bootstrap}
@@ -122,6 +123,7 @@ user interaction or any kind of interactivity.
%patch0
%patch1
%patch2
%patch3 -p1
%build
# curl complains if macro definition is contained in CFLAGS