<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/tests/unit/unit1307.c, branch bagder/https-proxy-tests</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>copyrights: update all copyright notices to 2019 on files changed this year</title>
<updated>2019-11-02T22:15:56+00:00</updated>
<author>
<name>Vilhelm Prytz</name>
<email>vilhelm@prytznet.se</email>
</author>
<published>2019-10-31T20:06:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d0319adb0c9b0931310fa57131584e15f5cba7bb'/>
<id>d0319adb0c9b0931310fa57131584e15f5cba7bb</id>
<content type='text'>
Closes #4547
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4547
</pre>
</div>
</content>
</entry>
<entry>
<title>unit1307: just fail without FTP support</title>
<updated>2019-02-15T08:50:52+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2019-02-14T08:35:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=208c77713aaab87d77a3b11f83308b7db61aaabc'/>
<id>208c77713aaab87d77a3b11f83308b7db61aaabc</id>
<content type='text'>
I missed to check this in with commit
71786c0505926aaf7e9b2477b2fb7ee16a915ec6, which only disabled the test.
This fixes the actual linker error.

Closes https://github.com/curl/curl/pull/3568
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I missed to check this in with commit
71786c0505926aaf7e9b2477b2fb7ee16a915ec6, which only disabled the test.
This fixes the actual linker error.

Closes https://github.com/curl/curl/pull/3568
</pre>
</div>
</content>
</entry>
<entry>
<title>cppcheck: fix warnings</title>
<updated>2018-06-11T09:14:48+00:00</updated>
<author>
<name>Marian Klymov</name>
<email>nekto1989@gmail.com</email>
</author>
<published>2018-06-02T20:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c45360d4633850839bb9c2d77dbf8a8285e9ad49'/>
<id>c45360d4633850839bb9c2d77dbf8a8285e9ad49</id>
<content type='text'>
- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

etc

Closes #2631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Get rid of variable that was generating false positive warning
(unitialized)

- Fix issues in tests

- Reduce scope of several variables all over

etc

Closes #2631
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: use the system one if available</title>
<updated>2018-06-01T10:29:21+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-31T13:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a115c6bbe73175ad6157fce67338d4a18ed768b2'/>
<id>a115c6bbe73175ad6157fce67338d4a18ed768b2</id>
<content type='text'>
If configure detects fnmatch to be available, use that instead of our
custom one for FTP wildcard pattern matching. For standard compliance,
to reduce our footprint and to use already well tested and well
exercised code.

A POSIX fnmatch behaves slightly different than the internal function
for a few test patterns currently and the macOS one yet slightly
different. Test case 1307 is adjusted for these differences.

Closes #2626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If configure detects fnmatch to be available, use that instead of our
custom one for FTP wildcard pattern matching. For standard compliance,
to reduce our footprint and to use already well tested and well
exercised code.

A POSIX fnmatch behaves slightly different than the internal function
for a few test patterns currently and the macOS one yet slightly
different. Test case 1307 is adjusted for these differences.

Closes #2626
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: insist on escaped bracket to match</title>
<updated>2018-05-28T21:57:31+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-27T21:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6482773d30c96fe886c294036acbc8ad2130bc31'/>
<id>6482773d30c96fe886c294036acbc8ad2130bc31</id>
<content type='text'>
A non-escaped bracket ([) is for a character group - as documented. It
will *not* match an individual bracket anymore. Test case 1307 updated
accordingly to match.

Problem detected by OSS-Fuzz, although this fix is probably not a final
fix for the notorious timeout issues.

Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525
Closes #2614
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A non-escaped bracket ([) is for a character group - as documented. It
will *not* match an individual bracket anymore. Test case 1307 updated
accordingly to match.

Problem detected by OSS-Fuzz, although this fix is probably not a final
fix for the notorious timeout issues.

Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525
Closes #2614
</pre>
</div>
</content>
</entry>
<entry>
<title>curl_fnmatch: only allow two asterisks for matching</title>
<updated>2018-05-18T21:33:44+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-05-18T14:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=404c8850da5a677638959f4e38bb7692cb887d3a'/>
<id>404c8850da5a677638959f4e38bb7692cb887d3a</id>
<content type='text'>
The previous limit of 5 can still end up in situation that takes a very
long time and consumes a lot of CPU.

If there is still a rare use case for this, a user can provide their own
fnmatch callback for a version that allows a larger set of wildcards.

This commit was triggered by yet another OSS-Fuzz timeout due to this.
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8369

Closes #2587
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous limit of 5 can still end up in situation that takes a very
long time and consumes a lot of CPU.

If there is still a rare use case for this, a user can provide their own
fnmatch callback for a version that allows a larger set of wildcards.

This commit was triggered by yet another OSS-Fuzz timeout due to this.
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8369

Closes #2587
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: pattern syntax can no longer fail</title>
<updated>2018-01-31T00:17:35+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2018-01-30T19:22:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=da5f4b1d84a6aef9ae35274a417f8fb3853a4a90'/>
<id>da5f4b1d84a6aef9ae35274a417f8fb3853a4a90</id>
<content type='text'>
Whenever an expected pattern syntax rule cannot be matched, the
character starting the rule loses its special meaning and the parsing
is resumed:
- backslash at the end of pattern string matches itself.
- Error in [:keyword:] results in set containing :\[dekorwy.

Unit test 1307 updated for this new situation.

Closes #2273
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whenever an expected pattern syntax rule cannot be matched, the
character starting the rule loses its special meaning and the parsing
is resumed:
- backslash at the end of pattern string matches itself.
- Error in [:keyword:] results in set containing :\[dekorwy.

Unit test 1307 updated for this new situation.

Closes #2273
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: accept an alphanum to be followed by a non-alphanum in char set</title>
<updated>2018-01-31T00:17:35+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2018-01-29T15:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=fcaa1826bd34c2a7ea7e71bfd2cfdcf5fe3506c1'/>
<id>fcaa1826bd34c2a7ea7e71bfd2cfdcf5fe3506c1</id>
<content type='text'>
Also be more tolerant about set pattern syntax.
Update unit test 1307 accordingly.

Bug: https://curl.haxx.se/mail/lib-2018-01/0114.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also be more tolerant about set pattern syntax.
Update unit test 1307 accordingly.

Bug: https://curl.haxx.se/mail/lib-2018-01/0114.html
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch: do not match the empty string with a character set</title>
<updated>2018-01-31T00:17:35+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2018-01-29T12:01:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=19abad095caafb2279f8aeb5d39cd038dcece938'/>
<id>19abad095caafb2279f8aeb5d39cd038dcece938</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unit1307: test many wildcards too</title>
<updated>2018-01-17T10:14:57+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-01-16T14:57:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2c0c4dff083f9b258c18456567cf15fa32e3acd7'/>
<id>2c0c4dff083f9b258c18456567cf15fa32e3acd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
