<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/fuzzers/download_refs_fuzzer.c, branch ethomson/test_https</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>fuzzers: declare static functions as static</title>
<updated>2021-11-11T22:21:32+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-11T22:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2374ba8d49ac9dfb084596259ec82c87b384fc32'/>
<id>2374ba8d49ac9dfb084596259ec82c87b384fc32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzers: declare standalone functions</title>
<updated>2021-11-11T22:11:25+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-11T17:33:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=489aec44477181afa05db41bfd04bb0febe83f59'/>
<id>489aec44477181afa05db41bfd04bb0febe83f59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzer: use futils instead of fileops</title>
<updated>2019-07-20T20:15:47+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2019-07-20T20:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ecd4f97b2b83c9de0215ec4e80a9f96c388f21c7'/>
<id>ecd4f97b2b83c9de0215ec4e80a9f96c388f21c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzers: clean up header includes</title>
<updated>2019-07-05T09:58:33+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2019-06-28T08:53:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3c966fb4fb7801a32b785615eb3b815a62b4e0db'/>
<id>3c966fb4fb7801a32b785615eb3b815a62b4e0db</id>
<content type='text'>
There's multiple headers included in our fuzzers that aren't required at
all. Furthermore, some of them are not available on Win32, causing
builds to fail. Remove them to fix this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's multiple headers included in our fuzzers that aren't required at
all. Furthermore, some of them are not available on Win32, causing
builds to fail. Remove them to fix this.
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzers: implement `mkdtemp` alternative for Win32</title>
<updated>2019-07-05T09:58:32+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2019-06-28T08:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=48d563286c788f344dd97feba1b06da6b4b42ac0'/>
<id>48d563286c788f344dd97feba1b06da6b4b42ac0</id>
<content type='text'>
The `mkdtemp` function is not available on Windows, so our download_refs
fuzzer will fail to compile on Windows. Provide an alternative
implementation to fix it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `mkdtemp` function is not available on Windows, so our download_refs
fuzzer will fail to compile on Windows. Provide an alternative
implementation to fix it.
</pre>
</div>
</content>
</entry>
<entry>
<title>errors: remove giterr usage in fuzzers</title>
<updated>2019-01-22T22:30:37+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2019-01-10T21:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=115a6c50c9c67bdf952304a3ed6a24673b42b815'/>
<id>115a6c50c9c67bdf952304a3ed6a24673b42b815</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzers: limit maximum pack object count</title>
<updated>2018-08-03T07:50:35+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-07-26T13:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e38ddc90bf2b77fce422014f2785a9124d21263f'/>
<id>e38ddc90bf2b77fce422014f2785a9124d21263f</id>
<content type='text'>
By default, libgit2 allows up to 2^32 objects when downloading a
packfile from a remote. For each of these objects, libgit2 will allocate
up to two small structs, which in total adds up to quite a lot of
memory. As a result, our fuzzers might run out of memory rather quick in
case where they receive as input a packfile with such a huge count of
objects.

Limit the packfile object count to 10M objects. This is sufficiently big
to still work with most largish repos (linux.git has around 6M objects
as of now), but small enough to not cause the fuzzer to OOM.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, libgit2 allows up to 2^32 objects when downloading a
packfile from a remote. For each of these objects, libgit2 will allocate
up to two small structs, which in total adds up to quite a lot of
memory. As a result, our fuzzers might run out of memory rather quick in
case where they receive as input a packfile with such a huge count of
objects.

Limit the packfile object count to 10M objects. This is sufficiently big
to still work with most largish repos (linux.git has around 6M objects
as of now), but small enough to not cause the fuzzer to OOM.
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzers: convert download_refs fuzzer to C</title>
<updated>2018-08-03T07:50:35+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2018-07-19T12:52:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=5db64e2f1b05df6620c99073a7798f9f4feabd09'/>
<id>5db64e2f1b05df6620c99073a7798f9f4feabd09</id>
<content type='text'>
Convert the "download_refs" fuzzer from C++ to C. Rename the source file
to have it be picked up by our build system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert the "download_refs" fuzzer from C++ to C. Rename the source file
to have it be picked up by our build system.
</pre>
</div>
</content>
</entry>
</feed>
