<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-01-05T17:23:53Z</updated>
<entry>
<title>pkgbase: Create a FreeBSD-fetch package</title>
<updated>2022-01-05T17:23:53Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2021-12-15T11:00:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac36d4f03a49ed21345830a87f3a82cf3a12c464'/>
<id>urn:sha1:ac36d4f03a49ed21345830a87f3a82cf3a12c464</id>
<content type='text'>
It's useful for small image to fetch some data but we don't want to
install utilities nor bloat runtime.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH &amp; Co. KG
Differential Revision:	https://reviews.freebsd.org/D33463

(cherry picked from commit 13ef8134efd1c0a39c2dab0197b5c4558101253e)
</content>
</entry>
<entry>
<title>libfetch: use more portable getline() interface</title>
<updated>2021-09-22T09:57:35Z</updated>
<author>
<name>Daniel Kolesa</name>
<email>daniel@octaforge.org</email>
</author>
<published>2021-08-17T14:01:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=037c2f4fe3d0198d5794ed10f6f4086355b8f20c'/>
<id>urn:sha1:037c2f4fe3d0198d5794ed10f6f4086355b8f20c</id>
<content type='text'>
this is for better portability in order to avoid using a function
which is BSD-only or available via libbsd

(cherry picked from commit ee3ca711a898cf41330c320826ea1e0e6e451f1d)
(cherry picked from commit 635eb7ac7990a2bb29e1992b739617a9db012bf2)
</content>
</entry>
<entry>
<title>Fix libfetch out of bounds read.</title>
<updated>2021-08-24T17:59:43Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2021-08-24T17:59:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a75324d674f5df10f1407080a49cfe933dbb06ec'/>
<id>urn:sha1:a75324d674f5df10f1407080a49cfe933dbb06ec</id>
<content type='text'>
Approved by:	so
Security:	SA-21:15.libfetch
Security:	CVE-2021-36159

(cherry picked from commit 3be62d49ae2b6f9050f39fe74210c88f35901fa5)
</content>
</entry>
<entry>
<title>libfetch: Retry with proxy auth when server returns 407</title>
<updated>2021-04-28T19:21:26Z</updated>
<author>
<name>Renato Botelho</name>
<email>garga@FreeBSD.org</email>
</author>
<published>2021-04-01T21:02:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7682961d386ebc7d5ec9cb38e609d3ec9bb978a'/>
<id>urn:sha1:d7682961d386ebc7d5ec9cb38e609d3ec9bb978a</id>
<content type='text'>
PR:		220468
Submitted by:	Egil Hasting &lt;egil.hasting@higen.org&gt; (based on)
Reviewed by:	kevans, kp
Approved by:	kp
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29533

(cherry picked from commit 345c30a94f6425954163f1e0b075a75f603d27cd)
</content>
</entry>
<entry>
<title>Remove support for SSLv3 from fetch(3).</title>
<updated>2020-11-24T22:10:33Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2020-11-24T22:10:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe85238ef758d1adead72be009d07c597fdba0bb'/>
<id>urn:sha1:fe85238ef758d1adead72be009d07c597fdba0bb</id>
<content type='text'>
Support for SSLv3 was already removed from OpenSSL (r361392).

Differential Revision:	https://reviews.freebsd.org/D24947
</content>
</entry>
<entry>
<title>Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE</title>
<updated>2020-10-27T11:29:11Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2020-10-27T11:29:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f474190fc280d4a4ef0c214e4d7fff0d1237e22'/>
<id>urn:sha1:1f474190fc280d4a4ef0c214e4d7fff0d1237e22</id>
<content type='text'>
Literal references to /usr/local exist in a large number of files in
the FreeBSD base system. Many are in contributed software, in configuration
files, or in the documentation, but 19 uses have been identified in C
source files or headers outside the contrib and sys/contrib directories.

This commit makes it possible to set _PATH_LOCALBASE in paths.h to use
a different prefix for locally installed software.

In order to avoid changes to openssh source files, LOCALBASE is passed to
the build via Makefiles under src/secure. While _PATH_LOCALBASE could have
been used here, there is precedent in the construction of the path used to
a xauth program which depends on the LOCALBASE value passed on the compiler
command line to select a non-default directory.

This could be changed in a later commit to make the openssh build
consistently use _PATH_LOCALBASE. It is considered out-of-scope for this
commit.

Reviewed by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D26942
</content>
</entry>
<entry>
<title>Don't explicitly specify c99 or gnu99 as the default is now gnu99.</title>
<updated>2020-08-17T05:57:02Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2020-08-17T05:57:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=941791759c2cb64e4884579b7a7cc5fb21feec26'/>
<id>urn:sha1:941791759c2cb64e4884579b7a7cc5fb21feec26</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>fetch(3): plug some leaks</title>
<updated>2020-02-21T18:21:57Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-21T18:21:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5ac6a2c94d36c885f1cdfd473b3bdcdf4c446082'/>
<id>urn:sha1:5ac6a2c94d36c885f1cdfd473b3bdcdf4c446082</id>
<content type='text'>
In the successful case, sockshost is not freed prior to return.

The failure case can now be hit after fetch_reopen(), which was not true
before. Thus, we need to make sure to clean up all of the conn resources
which will also close sd. For all of the points prior to fetch_reopen(), we
continue to just close sd.

CID:		1419598, 1419616
</content>
</entry>
<entry>
<title>fetch(3): don't leak sockshost on failure</title>
<updated>2020-02-15T19:47:49Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-15T19:47:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=86fd2105dcebdecbcaf36d634d79515ace012e8f'/>
<id>urn:sha1:86fd2105dcebdecbcaf36d634d79515ace012e8f</id>
<content type='text'>
fetch_socks5_getenv will allocate memory for the host (or set it to NULL) in
all cases through the function; the caller is responsible for freeing it if
we end up allocating.

While I'm here, I've eliminated a label that just jumps to the next line...
</content>
</entry>
<entry>
<title>fetch(3): fix regression in IPv6:port spec from r357977</title>
<updated>2020-02-15T19:39:50Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-15T19:39:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3dc455e8974c1a4723f6703f47b2f667a61c934b'/>
<id>urn:sha1:3dc455e8974c1a4723f6703f47b2f667a61c934b</id>
<content type='text'>
In case the port was specified, we never actually populated *host. Do so
now.

Pointy hat:	kevans
</content>
</entry>
</feed>
