platform/upstream/curl.git
6 years agovauth/cleartext: fix integer overflow check 55/191055/1
Daniel Stenberg [Tue, 20 Mar 2018 14:15:14 +0000 (15:15 +0100)]
vauth/cleartext: fix integer overflow check

Make the integer overflow check not rely on the undefined behavior that
a size_t wraps around on overflow.

Detected by lgtm.com
Closes #2408

Backported patch details:-

Link: https://github.com/curl/curl/commit/c1366571b609407cf0d4d9f4a2769d29e1313151.patch
Change-Id: Ib0c92fac4733910c2060e4af105060fe98b396ca
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoEnable ipv6 for TV profile 48/189148/1
Seonah Moon [Fri, 14 Sep 2018 02:10:38 +0000 (11:10 +0900)]
Enable ipv6 for TV profile

Change-Id: Ie275eadb0f141f23b06268bd07b9c99dca0511df

6 years agopingpong: fix response cache memcpy overflow 65/183065/1
Seonah Moon [Mon, 2 Jul 2018 05:04:50 +0000 (14:04 +0900)]
pingpong: fix response cache memcpy overflow

Response data for a handle with a large buffer might be cached and then
used with the "closure" handle when it has a smaller buffer and then the
larger cache will be copied and overflow the new smaller heap based
buffer.

Reported-by: Dario Weisser
CVE: CVE-2018-1000300
Bug: https://curl.haxx.se/docs/adv_2018-82c2.htm

Change-Id: I02d35b9494356aaec1ca1f8eab0353a58c849e11

6 years ago... leaving the k->str could lead to buffer over-reads later on. 64/183064/1
Seonah Moon [Mon, 2 Jul 2018 04:54:24 +0000 (13:54 +0900)]
... leaving the k->str could lead to buffer over-reads later on.

CVE: CVE-2018-1000301
Assisted-by: Max Dymond
Detected by OSS-Fuzz.
Bug: https://curl.haxx.se/docs/adv_2018-b138.html
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7105

Change-Id: I0bd3b891aef2bf08fdb485d135e695c2eeab86a7

6 years agoModify macro for tv profile 02/177302/1 submit/tizen/20180504.020920
chleun.moon [Fri, 27 Apr 2018 02:54:50 +0000 (11:54 +0900)]
Modify macro for tv profile

Change-Id: Idb324c07ce007d1949f790c75cf703ff269e342f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoApply DLP feature 04/176304/1 accepted/tizen_unified accepted/tizen/unified/20180426.062426 submit/tizen/20180425.053756
Seonah Moon [Wed, 18 Apr 2018 07:52:58 +0000 (16:52 +0900)]
Apply DLP feature

Change-Id: I5d53e6655bb57364d5008a1beab388b7ba53be66

6 years agoUse icu library for IDN feature 98/176298/1
Seonah Moon [Wed, 16 Aug 2017 09:21:40 +0000 (18:21 +0900)]
Use icu library for IDN feature

Change-Id: I13eaf3ca85d8b516dbc091acae9646e705a75f5e

6 years agoUpdate version to 7.59.0 81/175781/1
Seonah Moon [Thu, 12 Apr 2018 07:48:50 +0000 (16:48 +0900)]
Update version to 7.59.0

Change-Id: Icc20991f769dcde22844d141a47ccba887002b52

6 years agoImported Upstream version 7.59.0 63/175763/1 upstream/7.59.0
Seonah Moon [Thu, 12 Apr 2018 07:25:13 +0000 (16:25 +0900)]
Imported Upstream version 7.59.0

Change-Id: I06221d49da39082f95030ab57617a1e23fbda58b

6 years agoDisable the IDN feature temporary 26/168226/1 accepted/tizen/base/20180504.063502 accepted/tizen/unified/20180126.042834 submit/tizen/20180125.065647 submit/tizen_base/20180417.011946 submit/tizen_base/20180419.073756 submit/tizen_base/20180502.021447
Seonah Moon [Thu, 25 Jan 2018 05:47:22 +0000 (14:47 +0900)]
Disable the IDN feature temporary

This feature will be enabled after resolving build dependency issue

Change-Id: I6b7d8292015adbe5b488210176cf19c085b0aaf1

6 years agoMerge "Use icu library for IDN feature" into tizen submit/tizen/20180124.050653
taesub kim [Wed, 24 Jan 2018 04:54:47 +0000 (04:54 +0000)]
Merge "Use icu library for IDN feature" into tizen

6 years agoMerge "Use icu library for IDN feature" into tizen
taesub kim [Wed, 24 Jan 2018 04:48:31 +0000 (04:48 +0000)]
Merge "Use icu library for IDN feature" into tizen

6 years agoUse icu library for IDN feature 72/168072/1
Seonah Moon [Wed, 16 Aug 2017 09:21:40 +0000 (18:21 +0900)]
Use icu library for IDN feature

Change-Id: Ie0cae521c7eacfcd788a32b90adc20ba19ec66da

6 years agoAdded hardening compiler flags in the spec file. 39/167839/1 submit/tizen/20180123.012239
Abhishek Sansanwal [Mon, 22 Jan 2018 09:27:02 +0000 (14:57 +0530)]
Added hardening compiler flags in the spec file.

Description: Enabled stack protector, relro, PIE,
fortify source and other flags

Change-Id: I2e569da65cec7120f8ed250a06808f5efb408eb9
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
7 years agoFix dlclose issue when calling DLP feature 49/158549/1 accepted/tizen/unified/20171107.055246 submit/tizen/20171106.060918
tizen [Wed, 1 Nov 2017 18:08:44 +0000 (16:08 -0200)]
Fix dlclose issue when calling DLP feature

Change-Id: Id84c9f70c250b3798b4c2b730a45f817b5341c2a
Signed-off-by: tizen <s.moraes@samsung.com>
7 years agofix the handle_leak (Svace 302948 and 302613) 57/156657/2 accepted/tizen/unified/20171020.091649 submit/tizen/20171019.101212
jungkon.kim [Thu, 19 Oct 2017 09:36:59 +0000 (18:36 +0900)]
fix the handle_leak (Svace 302948 and 302613)

Change-Id: Id67c2f7b034ead0a74db4b652a4065dac8e8b4d9

7 years agoAdding integration with DLP feature from privacy-guard 12/156612/1 submit/tizen/20171019.085438
tizen [Wed, 18 Oct 2017 17:08:53 +0000 (15:08 -0200)]
Adding integration with DLP feature from privacy-guard

Change-Id: I2959feebaecfc6acbd87ab483a4f017d48b65de1
Signed-off-by: tizen <s.moraes@samsung.com>
7 years agoRevert "Integration w/ DLP feature from privacy-guard" 82/156082/1 accepted/tizen/unified/20171017.204837 submit/tizen/20171017.061035
taesub kim [Tue, 17 Oct 2017 05:59:17 +0000 (05:59 +0000)]
Revert "Integration w/ DLP feature from privacy-guard"

This reverts commit a6b689d7dfbfaab9138d32e148b08bf51b175703.

Change-Id: I7d32406cd7f4368e8ee60e3ad8b068c3d2d86c84

7 years agoIntegration w/ DLP feature from privacy-guard 61/147261/8 accepted/tizen/unified/20171013.192931 submit/tizen/20171012.094201
Saulo Moraes [Tue, 12 Sep 2017 21:08:31 +0000 (18:08 -0300)]
Integration w/ DLP feature from privacy-guard

Change-Id: I5ccf039d400dfd5ba0d7bcab7e75bc82aef5b6e8

7 years agoUse icu library for IDN feature 46/144346/1
Seonah Moon [Wed, 16 Aug 2017 09:21:40 +0000 (18:21 +0900)]
Use icu library for IDN feature

Change-Id: I4c00d1921e5ee15f3572af5e5a060049e7815a14
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoApply ASLR to curl command tool 00/143300/2 accepted/tizen/4.0/unified/20170828.222541 accepted/tizen/unified/20170814.060102 submit/tizen/20170811.040030 submit/tizen_4.0/20170828.100005
Seonah Moon [Wed, 9 Aug 2017 08:19:56 +0000 (17:19 +0900)]
Apply ASLR to curl command tool

Change-Id: Iffcece4c6629c0521545a1e841fe1858687befad
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoFixed build error 25/141625/1 accepted/tizen/4.0/unified/20170816.011953 accepted/tizen/unified/20170803.075456 submit/tizen/20170801.224410 submit/tizen/20170802.055623 submit/tizen/20170802.230359 submit/tizen/20170803.010203 submit/tizen_4.0/20170811.094300
Seonah Moon [Tue, 1 Aug 2017 06:57:10 +0000 (15:57 +0900)]
Fixed build error

Change-Id: Ib87d1e5101f430bfdde69d8f1afaddbfefc6c61b

7 years agoRemove unnecessary configure file 78/139978/1 submit/tizen/20170731.020626
Seonah Moon [Fri, 21 Jul 2017 07:24:55 +0000 (16:24 +0900)]
Remove unnecessary configure file

Change-Id: I84ad19bc5aa63967edc68c7797d524823a962b23
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd glib2 dependency to support IDN 18/138718/2
Seonah Moon [Fri, 21 Jul 2017 06:54:13 +0000 (15:54 +0900)]
Add glib2 dependency to support IDN

Change-Id: Ie330340da408b1cf57fca5c30c0f7dac88d85eb7
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[CVE-2017-9502] url: fix buffer overwrite with file protocol 79/134479/2 accepted/tizen/unified/20170706.193711 submit/tizen/20170620.102303 submit/tizen/20170630.012307 submit/tizen/20170703.231407 submit/tizen/20170705.224745
Daniel Stenberg [Tue, 6 Jun 2017 22:21:04 +0000 (00:21 +0200)]
[CVE-2017-9502] url: fix buffer overwrite with file protocol

https://github.com/curl/curl/issues/1540

Change-Id: Ic0c511886a16d0655e416882ee9719d1ac120be6

7 years ago[CVE-2017-7468] TLS: Fix switching off SSL session id when client cert is used 75/134475/2
Jay Satiro [Wed, 22 Mar 2017 05:59:49 +0000 (01:59 -0400)]
[CVE-2017-7468] TLS: Fix switching off SSL session id when client cert is used

- Move the sessionid flag to ssl_primary_config so that ssl and
  proxy_ssl will each have their own sessionid flag.

Regression since HTTPS-Proxy support was added in cb4e2be. Prior to that
this issue had been fixed in 247d890, CVE-2016-5419.

https://github.com/curl/curl/issues/1341

Change-Id: I3e6e176dafc6e6f103e5d9c077835f620783a3b1

7 years ago[CVE-2017-7407] --write-out out of buffer read 74/134474/1
Seonah Moon [Mon, 19 Jun 2017 01:15:46 +0000 (10:15 +0900)]
[CVE-2017-7407] --write-out out of buffer read

https://curl.haxx.se/docs/adv_20170403.html

Change-Id: I3cc866289e8929b52d31914f2f3164e18a2e1b5d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoRevert "Add dependency of nghttp2-devel" 78/133078/1
taesub kim [Fri, 9 Jun 2017 01:40:59 +0000 (01:40 +0000)]
Revert "Add dependency of nghttp2-devel"

This reverts commit 129a8fb222e334176769a51ab28cdc0923af4ece.

Change-Id: Icc2a618a477fec16c28256a2ea36dd8a10fe114c

7 years agoAdd dependency of nghttp2-devel 78/132878/1 submit/tizen/20170608.073827
Seonah Moon [Thu, 8 Jun 2017 06:15:47 +0000 (15:15 +0900)]
Add dependency of nghttp2-devel

Change-Id: Ib78ccd11318ed885fd19f3b809c1b47c94167b4f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoUsed %license macro 05/121605/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.171915 accepted/tizen/ivi/20170329.034906 accepted/tizen/mobile/20170329.034827 accepted/tizen/tv/20170329.034844 accepted/tizen/unified/20170329.034932 accepted/tizen/wearable/20170329.034853 submit/tizen/20170328.111440 tizen_4.0.m1_release
Seonah Moon [Tue, 28 Mar 2017 10:07:37 +0000 (19:07 +0900)]
Used %license macro

Change-Id: Ia5c38d98ea11d1e457014f7210913261a59f5b43

7 years agoUpdate version to 7.53.1 83/120583/1 accepted/tizen/common/20170323.154553 accepted/tizen/ivi/20170324.023348 accepted/tizen/mobile/20170324.023258 accepted/tizen/tv/20170324.023313 accepted/tizen/unified/20170324.023404 accepted/tizen/wearable/20170324.023330 submit/tizen/20170323.081345 submit/tizen/20170323.081420
Seonah Moon [Thu, 23 Mar 2017 08:02:09 +0000 (17:02 +0900)]
Update version to 7.53.1

Change-Id: I1833883d4e258c60fb93020688eb7e3ff3e2eb47

7 years agoImported Upstream version 7.53.1 59/120559/1 upstream/7.53.1
taesub kim [Thu, 23 Mar 2017 07:45:32 +0000 (16:45 +0900)]
Imported Upstream version 7.53.1

Change-Id: Id0454e17b6cb083c803c5497d34964dd8fa0dbc6

7 years agoRevert "Imported Upstream version 7.53.1" 51/120551/1
taesub kim [Thu, 23 Mar 2017 07:38:33 +0000 (00:38 -0700)]
Revert "Imported Upstream version 7.53.1"

This reverts commit e9bdad71c8277e20607fa1eaf0027d53a0dc1f37.

Change-Id: I4a4edd3ce2207a6f13162aaaf92467a7c1dffd72

7 years agoRevert "Changed the path of license by using '%license' macro" 47/120547/1
taesub kim [Thu, 23 Mar 2017 07:35:59 +0000 (00:35 -0700)]
Revert "Changed the path of license by using '%license' macro"

This reverts commit 3487493aece049d88444f96dee3a2d3f4fdfbb9c.

Change-Id: I1e29fb50e16c45d649779de96404adbc184f1f5e

7 years agoChanged the path of license by using '%license' macro 03/120203/1
Seonah Moon [Wed, 22 Mar 2017 05:43:30 +0000 (14:43 +0900)]
Changed the path of license by using '%license' macro

Change-Id: I685efdeb2ab23b18d7935a95e42690d723db632c
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoImported Upstream version 7.53.1 94/120194/1
taesub kim [Wed, 22 Mar 2017 05:21:38 +0000 (14:21 +0900)]
Imported Upstream version 7.53.1

Change-Id: I575eb99bf2face4938a57889412327e285116bf3

7 years agoares: Curl_resolver_wait_resolv: clear *entry first in function 17/118017/1 accepted/tizen/common/20170309.175438 accepted/tizen/ivi/20170310.031655 accepted/tizen/mobile/20170310.031333 accepted/tizen/tv/20170310.031505 accepted/tizen/unified/20170310.080622 accepted/tizen/wearable/20170310.031552 submit/tizen/20170309.032538 submit/tizen_unified/20170310.011402
Daniel Stenberg [Tue, 7 Mar 2017 07:08:55 +0000 (08:08 +0100)]
ares: Curl_resolver_wait_resolv: clear *entry first in function

Change-Id: Ia55a6ca41ba2c75fedd114fcfb8aef8ddb968e4e
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoares: better error return on timeouts 16/118016/1
Daniel Stenberg [Mon, 6 Mar 2017 21:45:10 +0000 (22:45 +0100)]
ares: better error return on timeouts

Assisted-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2017-03/0009.html

Change-Id: I7779aa144996b539d7a706b776cee09eebae6dcb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoares: return error at once if timed out before name resolve starts 68/117568/1 accepted/tizen/common/20170309.175136 accepted/tizen/ivi/20170308.121240 accepted/tizen/mobile/20170308.121208 accepted/tizen/tv/20170308.121224 accepted/tizen/wearable/20170308.121232 submit/tizen/20170308.045955
Daniel Stenberg [Mon, 6 Mar 2017 08:21:01 +0000 (09:21 +0100)]
ares: return error at once if timed out before name resolve starts

Pointed-out-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2017-03/0004.html

Change-Id: I7c38e9dc6f386001692fa3b02f5bba00b59f4f45
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[P161227-02691, P161220-01444] Force ongoing connections to close in close_all_connec... 06/107806/1 accepted/tizen/common/20161230.123828 accepted/tizen/ivi/20170101.224045 accepted/tizen/mobile/20170101.223952 accepted/tizen/tv/20170101.224009 accepted/tizen/unified/20170309.035036 accepted/tizen/wearable/20170101.224026 submit/tizen/20161230.055600 submit/tizen_unified/20170308.100411
Seonah Moon [Thu, 29 Dec 2016 10:18:45 +0000 (19:18 +0900)]
[P161227-02691, P161220-01444] Force ongoing connections to close in close_all_connections()

Bug: https://curl.haxx.se/mail/lib-2016-10/0011.html
Bug: https://curl.haxx.se/mail/lib-2016-10/0059.html

Change-Id: I6e015569958cc0da3bd9b03f17d4b32d475ebd0e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoRemove dependency with ca-certificates 45/99845/1 accepted/tizen/common/20161125.095652 accepted/tizen/ivi/20161128.000911 accepted/tizen/mobile/20161128.000841 accepted/tizen/tv/20161128.000847 accepted/tizen/wearable/20161128.000853 submit/tizen/20161125.054626
Seonah Moon [Thu, 24 Nov 2016 08:27:17 +0000 (17:27 +0900)]
Remove dependency with ca-certificates

Change-Id: Ic4b50ae08734463d9d1a37f86ec60a8f2459e818
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years ago[CVE-2016-7167] curl escape and unescape integer overflows 35/99235/2
Seonah Moon [Tue, 22 Nov 2016 07:53:24 +0000 (16:53 +0900)]
[CVE-2016-7167] curl escape and unescape integer overflows

Change-Id: Iffbaa7823c992cd93b8961ce69e7f6ac3f903e36
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoAdd default CA bundle 20/97420/1 accepted/tizen/common/20161116.134437 accepted/tizen/ivi/20161117.010112 accepted/tizen/mobile/20161117.005959 accepted/tizen/tv/20161117.010014 accepted/tizen/wearable/20161117.010021 submit/tizen/20161116.043314
Seonah Moon [Mon, 14 Nov 2016 06:50:11 +0000 (15:50 +0900)]
Add default CA bundle

Change-Id: Icc8dd83f8ab59cb18e6d9d6a7f732c6d1ba7cfa4
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoAdd default cipher list for TV 35/91235/1 accepted/tizen/3.0/common/20161114.110458 accepted/tizen/3.0/ivi/20161028.151254 accepted/tizen/3.0/mobile/20161028.143148 accepted/tizen/3.0/tv/20161028.143457 accepted/tizen/3.0/wearable/20161028.150825 accepted/tizen/common/20161012.154243 accepted/tizen/ivi/20161012.113719 accepted/tizen/mobile/20161012.113637 accepted/tizen/tv/20161012.113655 accepted/tizen/wearable/20161012.113703 submit/tizen/20161012.014104 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Seonah Moon [Thu, 1 Oct 2015 04:27:10 +0000 (13:27 +0900)]
Add default cipher list for TV

Change-Id: Ibe293221f37388b85aed58ec40793baac2cccd14
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoopenssl: fix bad memory free (regression) 67/90767/2 accepted/tizen/3.0/ivi/20161011.043815 accepted/tizen/3.0/mobile/20161015.032650 accepted/tizen/3.0/tv/20161016.004006 accepted/tizen/3.0/wearable/20161015.081908 accepted/tizen/common/20161004.194334 accepted/tizen/ivi/20161005.080315 accepted/tizen/mobile/20161005.080228 accepted/tizen/tv/20161005.080243 accepted/tizen/wearable/20161005.080258 submit/tizen/20161004.080743 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Seonah Moon [Tue, 4 Oct 2016 07:35:59 +0000 (16:35 +0900)]
openssl: fix bad memory free (regression)

The allocation could be made by OpenSSL so the free must be made with OPENSSL_free() to avoid problems.
(https://github.com/curl/curl/issues/1005)

Change-Id: I07527924fe20ed859cbd5d7ade356410c64d71c7
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoUpdate to 7.50.2 00/89300/3 accepted/tizen/common/20160928.164154 accepted/tizen/ivi/20160929.081233 accepted/tizen/mobile/20160929.081128 accepted/tizen/tv/20160929.081209 accepted/tizen/wearable/20160929.081050 submit/tizen/20160928.053415
Seonah Moon [Fri, 23 Sep 2016 05:12:16 +0000 (14:12 +0900)]
Update to 7.50.2

Change-Id: I1c5ba709c310e2c1735c12102e48f71d3413146b

8 years agoImported Upstream version 7.50.2 93/89293/1 upstream/7.50.2
Seonah Moon [Fri, 23 Sep 2016 04:49:53 +0000 (13:49 +0900)]
Imported Upstream version 7.50.2

Change-Id: I91c6040940a21b2bebab9d6cab11d50767b7bac4

8 years agoChange build macro for Tizen TV 03/85603/2 accepted/tizen/common/20160831.161403 accepted/tizen/ivi/20160831.124347 accepted/tizen/mobile/20160831.124257 accepted/tizen/tv/20160831.124311 accepted/tizen/wearable/20160831.124332 submit/tizen/20160831.004932
Seonah Moon [Fri, 26 Aug 2016 05:29:23 +0000 (14:29 +0900)]
Change build macro for Tizen TV

This macro is ignored on build.tizen.org
It's only for Tizen TV build system

Change-Id: I0aa69505ddcfc1973d864f260d2b5e3f2fd87a3d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoAdd default cipher list for TV 46/82546/2 accepted/tizen/common/20160805.130015 accepted/tizen/ivi/20160809.010914 accepted/tizen/mobile/20160809.010827 accepted/tizen/tv/20160809.010845 accepted/tizen/wearable/20160809.010903 submit/tizen/20160805.043859
Seonah Moon [Thu, 1 Oct 2015 04:27:10 +0000 (13:27 +0900)]
Add default cipher list for TV

Change-Id: I91579c36473a9619d00990c5897831006d89670f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years ago[CVE-2016-4802] Windows DLL hijacking 89/75889/2 accepted/tizen/common/20160627.191214 accepted/tizen/ivi/20160623.121440 accepted/tizen/mobile/20160623.121352 accepted/tizen/tv/20160623.121405 accepted/tizen/wearable/20160623.121428 submit/tizen/20160622.070923
Seonah Moon [Wed, 22 Jun 2016 05:43:54 +0000 (14:43 +0900)]
[CVE-2016-4802] Windows DLL hijacking

Change-Id: I52bc7cb34ac493c20588876294d59039af03cbe1
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years ago[CVE-2016-3739] TLS certificate check bypass with mbedTLS/PolarSSL 82/75882/1
Seonah Moon [Wed, 22 Jun 2016 05:23:07 +0000 (14:23 +0900)]
[CVE-2016-3739] TLS certificate check bypass with mbedTLS/PolarSSL

Change-Id: I76d120f5c9e696ecd402a2099b94759cc22a51e2
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoMerge branch 'upstream' into tizen 63/67263/3 accepted/tizen/common/20160427.144109 accepted/tizen/ivi/20160428.002447 accepted/tizen/mobile/20160428.004551 accepted/tizen/tv/20160428.002324 accepted/tizen/wearable/20160428.002544 submit/tizen/20160427.070140
Seonah Moon [Tue, 26 Apr 2016 05:52:32 +0000 (14:52 +0900)]
Merge branch 'upstream' into tizen

Upgrade version 7.48.0

Change-Id: Ibb643307cb5add844a733bb23cb6051bc0fdb100
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoImported Upstream version 7.48.0 46/67046/1 upstream/7.48.0
taesubkim [Mon, 25 Apr 2016 01:21:23 +0000 (10:21 +0900)]
Imported Upstream version 7.48.0

Change-Id: Ibca5368d95ef0b73c945bb0df8b7ef9fc3e3bd82
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoRevert "Imported Upstream version 7.44.0" 73/65573/1
seonah moon [Mon, 11 Apr 2016 11:05:33 +0000 (04:05 -0700)]
Revert "Imported Upstream version 7.44.0"

This reverts commit 8a08705db260779441360e959b97b6c172f8acb0.

Change-Id: Ie319aab9015869b714a03b8aa890a67ccbc9233e

8 years agoRevert "Update to 7.44.0" 72/65072/1
seonah moon [Thu, 7 Apr 2016 06:59:58 +0000 (23:59 -0700)]
Revert "Update to 7.44.0"

This reverts commit 2bc9d6bb53df44a0c5174767de734620c2cdfd9e.

Change-Id: I831001a99b6ad80dc062c84b3877208e1b40b80a

8 years agoUpdate to 7.44.0 38/65038/2 submit/tizen/20160407.062150
Seonah Moon [Thu, 7 Apr 2016 04:35:45 +0000 (13:35 +0900)]
Update to 7.44.0

Change-Id: I5b1e06765d1fe3c75597ff7db9831228ea0cad05
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoImported Upstream version 7.44.0 35/65035/1
Seonah Moon [Thu, 7 Apr 2016 02:41:57 +0000 (11:41 +0900)]
Imported Upstream version 7.44.0

Change-Id: I04e7fac0b620653ff8c174e87039756e98c4fb02

8 years agoRevert "Imported Upstream version 7.44.0" 20/65020/1
seonah moon [Thu, 7 Apr 2016 02:31:17 +0000 (19:31 -0700)]
Revert "Imported Upstream version 7.44.0"

This reverts commit 31368b6eac8092a307849518e912b4c475c0238a.

Change-Id: I3428294b4931a00ba9684528d3ffb326f92ed4e8

8 years agoImported Upstream version 7.44.0 13/65013/1
Seonah Moon [Thu, 7 Apr 2016 01:07:19 +0000 (10:07 +0900)]
Imported Upstream version 7.44.0

Change-Id: Iacb2e604edff0cb8e7687289419ad1908a7a9de6

8 years agoReplace 'tizen_profile_name' to 'profile' for Tizen 3.0 95/53695/1 accepted/tizen/ivi/20160218.024439 accepted/tizen/mobile/20151210.024359 accepted/tizen/tv/20151210.020811 accepted/tizen/wearable/20151210.013903 submit/tizen/20151209.020712 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Seonah Moon [Wed, 9 Dec 2015 00:58:55 +0000 (09:58 +0900)]
Replace 'tizen_profile_name' to 'profile' for Tizen 3.0

Change-Id: I92101758608b72134f28d38fc11d01c527d2f05e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoUpgrade upstream version to 7.40.0 19/51819/1 accepted/tizen/mobile/20151117.093731 accepted/tizen/tv/20151117.093805 accepted/tizen/wearable/20151117.093842 submit/tizen/20151117.023414
taesub.kim [Mon, 16 Nov 2015 10:07:08 +0000 (19:07 +0900)]
Upgrade upstream version to 7.40.0

Change-Id: I60df9f32924246f842db1056534bb707e77b431e

8 years agoImported Upstream version 7.40.0 07/51807/1
taesub.kim [Mon, 16 Nov 2015 08:28:24 +0000 (17:28 +0900)]
Imported Upstream version 7.40.0

Change-Id: I744943f451cb7db8f796a53f10dd6f57c297287d

8 years agoBase code merged to SPIN 2.4 99/51799/1
taesub.kim [Mon, 16 Nov 2015 08:23:25 +0000 (17:23 +0900)]
Base code merged to SPIN 2.4

Change-Id: I345fdf6d033fc695d6f3f3ea0c55e7c8b542e348

8 years agoRevert "Update to 7.40.1" 94/51594/1
taesub kim [Wed, 11 Nov 2015 05:34:24 +0000 (21:34 -0800)]
Revert "Update to 7.40.1"

This reverts commit 32de14ae0782822e9c54c3fbb28cdefc1f4de969.

Change-Id: I955d8a59ce444eac32b74264d98272297ac51b9b

8 years agoUpdate to 7.40.1 63/51363/1 submit/tizen/20151109.080918 submit/tizen/20151109.080942 submit/tizen/20151109.082943
Seonah Moon [Mon, 9 Nov 2015 06:25:57 +0000 (15:25 +0900)]
Update to 7.40.1

Change-Id: I91d61adf7c97502bbc4370c6b095bbe39aa6cb60
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
9 years agoBump to version 7.37.1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20141219.103911 accepted/tizen/ivi/20141225.103508 accepted/tizen/mobile/20150105.022452 accepted/tizen/tv/20141222.013000 accepted/tizen/wearable/20141222.013058 submit/tizen/20141212.141744 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141225.222222 submit/tizen_mobile/20141231.012840 submit/tizen_mobile/20151202.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
Kévin THIERRY [Thu, 30 Oct 2014 15:26:04 +0000 (16:26 +0100)]
Bump to version 7.37.1

Use upstream git instead of pristin-tar.

Also use "%__make" and "%make_install" rpm macros.

Bug-Tizen: TC-1807
Change-Id: If52b5604533d6e03826eae8ce35c01184cf208ab
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoPackaging cleanups
Patrick McCarty [Wed, 4 Sep 2013 17:59:11 +0000 (10:59 -0700)]
Packaging cleanups

- Fix whitespace
- Package license for libcurl
- Fix RPM group tags
- Add the upstream URL

Change-Id: I101c1d0272da282dced66d439058d84ead13bd39

9 years agoUpdate to 7.32.0
Patrick McCarty [Wed, 4 Sep 2013 17:45:38 +0000 (10:45 -0700)]
Update to 7.32.0

This update addresses the following CVEs:

 - CVE-2011-2192
 - CVE-2012-0036
 - CVE-2013-1944

Change-Id: I58ed3c3561cbb670fb49ffc43a5e6b3be7c1a829

9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 20:18:53 +0000 (23:18 +0300)]
resetting manifest requested domain to floor

Change-Id: Ib4fd617379bc46744c4a951b8232fabe30e7e4c1

9 years agoAdd baselibs
Anas Nashif [Sat, 16 Feb 2013 06:37:24 +0000 (22:37 -0800)]
Add baselibs

Change-Id: I147e3da210e065be06ee455dd91c6d7548ed7492

9 years agoadd packaging
Anas Nashif [Tue, 30 Oct 2012 22:51:57 +0000 (15:51 -0700)]
add packaging

Change-Id: Ia2b58e13b0000ced9c1e8c4895f0cdffb27cc877

10 years agoRELEASE-NOTES: synced with 4cb2521595 upstream/7.37.1
Daniel Stenberg [Wed, 16 Jul 2014 14:29:02 +0000 (16:29 +0200)]
RELEASE-NOTES: synced with 4cb2521595

10 years agotest506: verify aa6884845168
Daniel Stenberg [Tue, 15 Jul 2014 22:09:58 +0000 (00:09 +0200)]
test506: verify aa6884845168

After the fixed cookie lock deadlock, this test now passes and it
detects double-locking and double-unlocking of mutexes.

10 years agocookie: avoid mutex deadlock
Yousuke Kimoto [Mon, 14 Jul 2014 18:38:18 +0000 (20:38 +0200)]
cookie: avoid mutex deadlock

... by removing the extra mutex locks around th call to
Curl_flush_cookies() which takes care of the locking itself already.

Bug: http://curl.haxx.se/mail/lib-2014-02/0184.html

10 years agognutls: fix compiler warning
Daniel Stenberg [Tue, 15 Jul 2014 19:28:10 +0000 (21:28 +0200)]
gnutls: fix compiler warning

conversion to 'int' from 'long int' may alter its value

10 years agotest320: strip off the actual negotiated cipher width
Dan Fandrich [Mon, 14 Jul 2014 23:01:39 +0000 (01:01 +0200)]
test320: strip off the actual negotiated cipher width

It's irrelevant to the test, and will change depending on which SSL
library is being used by libcurl.

10 years agognutls: detect lack of SRP support in GnuTLS at run-time and try without
Dan Fandrich [Mon, 14 Jul 2014 20:27:03 +0000 (22:27 +0200)]
gnutls: detect lack of SRP support in GnuTLS at run-time and try without

Reported-by: David Woodhouse
10 years agoconfigure: respect host tool prefix for krb5-config
Michał Górny [Sun, 15 Jun 2014 10:42:30 +0000 (12:42 +0200)]
configure: respect host tool prefix for krb5-config

Use ${host_alias}-krb5-config if available. This improves cross-
compilation support and fixes multilib on Gentoo (at least).

10 years agognutls: handle IP address in cert name check
David Woodhouse [Mon, 14 Jul 2014 18:04:55 +0000 (20:04 +0200)]
gnutls: handle IP address in cert name check

Before GnuTLS 3.3.6, the gnutls_x509_crt_check_hostname() function
didn't actually check IP addresses in SubjectAltName, even though it was
explicitly documented as doing so. So do it ourselves...

10 years agobuild: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r
Dan Fandrich [Mon, 14 Jul 2014 08:40:33 +0000 (10:40 +0200)]
build: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r

10 years agoRELEASE-NOTES: next one is called 7.37.1
Daniel Stenberg [Mon, 14 Jul 2014 17:30:50 +0000 (19:30 +0200)]
RELEASE-NOTES: next one is called 7.37.1

10 years agognutls: improved error message if setting cipher list fails
Dan Fandrich [Sat, 12 Jul 2014 23:30:52 +0000 (01:30 +0200)]
gnutls: improved error message if setting cipher list fails

Reported-by: David Woodhouse
10 years agonetrc: fixed thread safety problem by using getpwuid_r if available
Dan Fandrich [Sat, 12 Jul 2014 22:18:40 +0000 (00:18 +0200)]
netrc: fixed thread safety problem by using getpwuid_r if available

The old way using getpwuid could cause problems in programs that enable
reading from netrc files simultaneously in multiple threads.

Reported-by: David Woodhouse
10 years agoRELEASE-NOTES: add the reporter of the previous bug fix
Dan Fandrich [Sat, 12 Jul 2014 21:39:22 +0000 (23:39 +0200)]
RELEASE-NOTES: add the reporter of the previous bug fix

10 years agonetrc: treat failure to find home dir same as missing netrc file
Dan Fandrich [Sat, 12 Jul 2014 18:19:34 +0000 (20:19 +0200)]
netrc: treat failure to find home dir same as missing netrc file

This previously caused a fatal error (with a confusing error code, at
that).

Reported by: Glen A Johnson Jr.

10 years agoRELEASE-NOTES: Synced with aaaf9e50ec
Steve Holme [Sat, 12 Jul 2014 14:23:39 +0000 (15:23 +0100)]
RELEASE-NOTES: Synced with aaaf9e50ec

10 years agontlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions
Steve Holme [Sat, 12 Jul 2014 13:56:47 +0000 (14:56 +0100)]
ntlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions

Bug: http://curl.haxx.se/mail/lib-2014-07/0103.html
Reported-by: David Woodhouse
10 years agobuild: Fixed overridden compiler PDB settings in VC7 to VC12
Steve Holme [Sat, 28 Jun 2014 12:02:03 +0000 (13:02 +0100)]
build: Fixed overridden compiler PDB settings in VC7 to VC12

The curl tool project files for VC7 to VC12 would override the default
setting with the output filename being the same as the linker PDB file.
As such the compiler file would be overwritten with the linker file
for all debug builds.

To avoid this overwrite and for consistency with the libcurl project
files, removed the setting to force the default filename to be used.

10 years agotests: added globbing keyword to URL globbing tests
Dan Fandrich [Fri, 11 Jul 2014 23:49:35 +0000 (01:49 +0200)]
tests: added globbing keyword to URL globbing tests

10 years agoFixed some "statement not reached" warnings
Dan Fandrich [Fri, 11 Jul 2014 23:39:56 +0000 (01:39 +0200)]
Fixed some "statement not reached" warnings

10 years agognutls: fixed a couple of uninitialized variable references
Dan Fandrich [Fri, 11 Jul 2014 23:31:12 +0000 (01:31 +0200)]
gnutls: fixed a couple of uninitialized variable references

10 years agognutls: fixed compilation against versions < 2.12.0
Dan Fandrich [Fri, 11 Jul 2014 22:33:16 +0000 (00:33 +0200)]
gnutls: fixed compilation against versions < 2.12.0

The AES-GCM ciphers were added to GnuTLS as late as ver. 3.0.1 but
the code path in which they're referenced here is only ever used for
somewhat older GnuTLS versions. This caused undeclared identifier errors
when compiling against those.

10 years agognutls: explicitly added SRP to the priority string
Dan Fandrich [Fri, 11 Jul 2014 21:55:53 +0000 (23:55 +0200)]
gnutls: explicitly added SRP to the priority string

This seems to have become necessary for SRP support to work starting
with GnuTLS ver. 2.99.0. Since support for SRP was added to GnuTLS
before the function that takes this priority string, there should be no
issue with backward compatibility.

10 years agotests: adjust for capitalization differences in newer gnutls-serv
Dan Fandrich [Fri, 11 Jul 2014 21:43:13 +0000 (23:43 +0200)]
tests: adjust for capitalization differences in newer gnutls-serv

10 years agotest320/1/2/4: fix the port number substitution variables
Dan Fandrich [Fri, 11 Jul 2014 21:40:01 +0000 (23:40 +0200)]
test320/1/2/4: fix the port number substitution variables

These tests have been broken since commit 1958fe57 in Oct. 2011

10 years agotests: document more test identifiers and variables
Dan Fandrich [Fri, 11 Jul 2014 21:33:55 +0000 (23:33 +0200)]
tests: document more test identifiers and variables

10 years agognutls: ignore invalid certificate dates with VERIFYPEER disabled
Dan Fandrich [Fri, 11 Jul 2014 21:21:31 +0000 (23:21 +0200)]
gnutls: ignore invalid certificate dates with VERIFYPEER disabled

This makes the behaviour consistent with what happens if a date can
be extracted from the certificate but is expired.

10 years agoCURLOPT_UPLOAD: Corrected argument type
Steve Holme [Thu, 10 Jul 2014 21:30:30 +0000 (22:30 +0100)]
CURLOPT_UPLOAD: Corrected argument type

10 years agoFAQ: expand the thread-safe section
Daniel Stenberg [Thu, 10 Jul 2014 03:06:34 +0000 (22:06 -0500)]
FAQ: expand the thread-safe section

... with a mention of *NOSIGNAL, based on talk in bug #1386

10 years agourl.c: Fixed memory leak on OOM
Dan Fandrich [Mon, 7 Jul 2014 21:12:22 +0000 (23:12 +0200)]
url.c: Fixed memory leak on OOM

This showed itself on some systems with torture failures
in tests 1060 and 1061