<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glib.git/fuzzing, branch pgriffis/wip/resolver-https</title>
<subtitle>gitlab.gnome.org: GNOME/glib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/'/>
<entry>
<title>fuzzing: Add a fuzz test for parsing DNS records</title>
<updated>2021-12-16T11:26:03+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2021-12-15T16:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=06e282e50fb6db7192b815639a62efcaa8759786'/>
<id>06e282e50fb6db7192b815639a62efcaa8759786</id>
<content type='text'>
Based on Patrick’s work to expose the parser for unit testing.

See !2134.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on Patrick’s work to expose the parser for unit testing.

See !2134.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Update various external links to use HEAD instead of master</title>
<updated>2021-06-07T13:03:48+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2021-06-07T12:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=1a43d950b41eafb0146fd474e5d3039fe5dc2cf2'/>
<id>1a43d950b41eafb0146fd474e5d3039fe5dc2cf2</id>
<content type='text'>
Update several links to allow the remote to use its configured default
branch name, rather than specifying `master` as the default branch name.
This will help avoid breakage if any of these projects rename their
default branch in the future.

Fix a few of the links where they were hitting redirects or had moved.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;

Helps: #2348
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update several links to allow the remote to use its configured default
branch name, rather than specifying `master` as the default branch name.
This will help avoid breakage if any of these projects rename their
default branch in the future.

Fix a few of the links where they were hitting redirects or had moved.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;

Helps: #2348
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small file leak in fuzzing driver</title>
<updated>2021-04-01T19:27:03+00:00</updated>
<author>
<name>Michael Catanzaro</name>
<email>mcatanzaro@gnome.org</email>
</author>
<published>2021-03-31T16:43:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=e2f270653949bc751aa8ff302fae55e44b0867e1'/>
<id>e2f270653949bc751aa8ff302fae55e44b0867e1</id>
<content type='text'>
This doesn't matter as the file is needed until right before the program
quits, but it placates Coverity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't matter as the file is needed until right before the program
quits, but it placates Coverity.
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Fix assertion failure in fuzz_paths.c</title>
<updated>2021-03-25T11:23:55+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2021-03-25T11:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=c3eb4a939be863b4ce79a657e558395ba0d559f6'/>
<id>c3eb4a939be863b4ce79a657e558395ba0d559f6</id>
<content type='text'>
If operating on a zero-length input, the return values of
`g_path_get_basename()` and `g_path_get_dirname()` are correctly `.`.
The assertions in the test didn’t account for this.

oss-fuzz#32454

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If operating on a zero-length input, the return values of
`g_path_get_basename()` and `g_path_get_dirname()` are correctly `.`.
The assertions in the test didn’t account for this.

oss-fuzz#32454

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Add fuzz tests for functions which parse paths</title>
<updated>2021-03-24T11:16:49+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>philip@tecnocode.co.uk</email>
</author>
<published>2021-03-24T11:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=1140c228abe609750345a220535952ab6fd62a0f'/>
<id>1140c228abe609750345a220535952ab6fd62a0f</id>
<content type='text'>
Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wrong position for static qualifier warning in fuzzing/fuzz_dbus_message.c</title>
<updated>2021-02-10T19:41:16+00:00</updated>
<author>
<name>Emmanuel Fleury</name>
<email>emmanuel.fleury@gmail.com</email>
</author>
<published>2020-11-17T20:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=1f8d8b397e923d3979b7730ce74ecb8ff252388d'/>
<id>1f8d8b397e923d3979b7730ce74ecb8ff252388d</id>
<content type='text'>
fuzzing/fuzz_dbus_message.c:3:1: error: ‘static’ is not at beginning of declaration
    3 | const static GDBusCapabilityFlags flags = G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING;
      | ^~~~~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fuzzing/fuzz_dbus_message.c:3:1: error: ‘static’ is not at beginning of declaration
    3 | const static GDBusCapabilityFlags flags = G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING;
      | ^~~~~
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Add more parsing flags to the GKeyFile test</title>
<updated>2020-12-17T12:42:54+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2020-12-17T12:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=0c83f05be81a0044c43f74470eed54330492b742'/>
<id>0c83f05be81a0044c43f74470eed54330492b742</id>
<content type='text'>
To increase the coverage.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To increase the coverage.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Add more GUriFlags to the URI parsing test</title>
<updated>2020-12-17T12:03:18+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2020-12-17T12:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=486a2cadbb22a6d9cbb3620e67f9dc0381a22b02'/>
<id>486a2cadbb22a6d9cbb3620e67f9dc0381a22b02</id>
<content type='text'>
Widen the amount of test coverage.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Widen the amount of test coverage.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Add more fuzzing tests for various string parsing functions</title>
<updated>2020-12-08T11:07:43+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2020-12-08T11:02:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=105f4a0f393c55bdffd30ae39414251c37182522'/>
<id>105f4a0f393c55bdffd30ae39414251c37182522</id>
<content type='text'>
There’s no explicit guarantee that any of these functions are safe to
use on untrusted data, but it does no harm to test them.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There’s no explicit guarantee that any of these functions are safe to
use on untrusted data, but it does no harm to test them.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fuzzing: Fix minor Coverity warning about return values</title>
<updated>2020-11-13T14:12:18+00:00</updated>
<author>
<name>Philip Withnall</name>
<email>pwithnall@endlessos.org</email>
</author>
<published>2020-11-13T14:12:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glib.git/commit/?id=895da996948d41d98acf40378b3f6c40efc0aace'/>
<id>895da996948d41d98acf40378b3f6c40efc0aace</id>
<content type='text'>
ftell() could theoretically fail; handle that.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;

Coverity CID: #1430667
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ftell() could theoretically fail; handle that.

Signed-off-by: Philip Withnall &lt;pwithnall@endlessos.org&gt;

Coverity CID: #1430667
</pre>
</div>
</content>
</entry>
</feed>
